.TH "KSortableItem" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KSortableItem \- KSortableItem is a \fBQPair\fP that provides several operators for sorting.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <ksortablevaluelist.h>\fP
.PP
Inherits \fBQPair< Key, T >\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKSortableItem\fP (Key i, const T &t)"
.br
.ti -1c
.RI "\fBKSortableItem\fP (const \fBKSortableItem\fP< T, Key > &rhs)"
.br
.ti -1c
.RI "\fBKSortableItem\fP ()"
.br
.ti -1c
.RI "\fBKSortableItem\fP< T, Key > & \fBoperator=\fP (const \fBKSortableItem\fP< T, Key > &i)"
.br
.ti -1c
.RI "bool \fBoperator>\fP (const \fBKSortableItem\fP< T, Key > &i2) const "
.br
.ti -1c
.RI "bool \fBoperator<\fP (const \fBKSortableItem\fP< T, Key > &i2) const "
.br
.ti -1c
.RI "bool \fBoperator>=\fP (const \fBKSortableItem\fP< T, Key > &i2) const "
.br
.ti -1c
.RI "bool \fBoperator<=\fP (const \fBKSortableItem\fP< T, Key > &i2) const "
.br
.ti -1c
.RI "bool \fBoperator==\fP (const \fBKSortableItem\fP< T, Key > &i2) const "
.br
.ti -1c
.RI "bool \fBoperator!=\fP (const \fBKSortableItem\fP< T, Key > &i2) const "
.br
.ti -1c
.RI "T & \fBvalue\fP ()"
.br
.ti -1c
.RI "const T & \fBvalue\fP () const "
.br
.ti -1c
.RI "Key \fBindex\fP () const "
.br
.in -1c
.SH "Detailed Description"
.PP 

.SS "template<class T, class Key = int> class KSortableItem< T, Key >"
KSortableItem is a \fBQPair\fP that provides several operators for sorting. 

\fBSee also:\fP
.RS 4
\fBKSortableValueList\fP 
.RE
.PP

.PP
Definition at line 32 of file ksortablevaluelist.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "template<class T, class Key = int> \fBKSortableItem\fP< T, Key >::\fBKSortableItem\fP (Key i, const T & t)\fC [inline]\fP"
.PP
Creates a new KSortableItem with the given values. 
.PP
\fBParameters:\fP
.RS 4
\fIi\fP the first value 
.br
\fIt\fP the second value 
.RE
.PP

.PP
Definition at line 40 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> \fBKSortableItem\fP< T, Key >::\fBKSortableItem\fP (const \fBKSortableItem\fP< T, Key > & rhs)\fC [inline]\fP"
.PP
Creates a new KSortableItem that copies another one. 
.PP
\fBParameters:\fP
.RS 4
\fIrhs\fP the other item to copy 
.RE
.PP

.PP
Definition at line 45 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> \fBKSortableItem\fP< T, Key >::\fBKSortableItem\fP ()\fC [inline]\fP"
.PP
Creates a new KSortableItem with uninitialized values. 
.PP
Definition at line 51 of file ksortablevaluelist.h.
.SH "Member Function Documentation"
.PP 
.SS "template<class T, class Key = int> \fBKSortableItem\fP<T, Key>& \fBKSortableItem\fP< T, Key >::operator= (const \fBKSortableItem\fP< T, Key > & i)\fC [inline]\fP"
.PP
Assignment operator, just copies the item. 
.PP
Definition at line 56 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> bool \fBKSortableItem\fP< T, Key >::operator> (const \fBKSortableItem\fP< T, Key > & i2) const\fC [inline]\fP"
.PP
Compares the two items. 
.PP
This implementation only compares the first value. 
.PP
Definition at line 67 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> bool \fBKSortableItem\fP< T, Key >::operator< (const \fBKSortableItem\fP< T, Key > & i2) const\fC [inline]\fP"
.PP
Compares the two items. 
.PP
This implementation only compares the first value. 
.PP
Definition at line 74 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> bool \fBKSortableItem\fP< T, Key >::operator>= (const \fBKSortableItem\fP< T, Key > & i2) const\fC [inline]\fP"
.PP
Compares the two items. 
.PP
This implementation only compares the first value. 
.PP
Definition at line 81 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> bool \fBKSortableItem\fP< T, Key >::operator<= (const \fBKSortableItem\fP< T, Key > & i2) const\fC [inline]\fP"
.PP
Compares the two items. 
.PP
This implementation only compares the first value. 
.PP
Definition at line 88 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> bool \fBKSortableItem\fP< T, Key >::operator== (const \fBKSortableItem\fP< T, Key > & i2) const\fC [inline]\fP"
.PP
Compares the two items. 
.PP
This implementation only compares the first value. 
.PP
Definition at line 95 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> bool \fBKSortableItem\fP< T, Key >::operator!= (const \fBKSortableItem\fP< T, Key > & i2) const\fC [inline]\fP"
.PP
Compares the two items. 
.PP
This implementation only compares the first value. 
.PP
Definition at line 102 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> T& \fBKSortableItem\fP< T, Key >::value ()\fC [inline]\fP"
.PP
\fBReturns:\fP
.RS 4
the second value 
.RE
.PP

.PP
Definition at line 109 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> const T& \fBKSortableItem\fP< T, Key >::value () const\fC [inline]\fP"
.PP
Returns the second value. 
.PP
Definition at line 114 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> Key \fBKSortableItem\fP< T, Key >::index () const\fC [inline]\fP"
.PP
\fBReturns:\fP
.RS 4
the first value. 
.RE
.PP

.PP
Definition at line 119 of file ksortablevaluelist.h.

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
