|
|
KSortableItem is a QPair that provides several operators for sorting.
See also: KSortableValueList
| KSortableItem ( Key i, const T& t )
| KSortableItem |
Creates a new KSortableItem with the given values.
Parameters:
| i | the first value |
| t | the second value |
| KSortableItem ( const KSortableItem | KSortableItem |
Creates a new KSortableItem that copies another one.
Parameters:
| rhs | the other item to copy |
| KSortableItem ()
| KSortableItem |
Creates a new KSortableItem with uninitialized values.
| KSortableItem | operator= |
Assignment operator, just copies the item.
| bool operator> ( const KSortableItem | operator> |
[const]
Compares the two items. This implementation only compares the first value.
| bool operator< ( const KSortableItem | operator< |
[const]
Compares the two items. This implementation only compares the first value.
| bool operator>= ( const KSortableItem | operator>= |
[const]
Compares the two items. This implementation only compares the first value.
| bool operator<= ( const KSortableItem | operator<= |
[const]
Compares the two items. This implementation only compares the first value.
| bool operator== ( const KSortableItem | operator== |
[const]
Compares the two items. This implementation only compares the first value.
| bool operator!= ( const KSortableItem | operator!= |
[const]
Compares the two items. This implementation only compares the first value.
| T& value ()
| value |
Returns the second value.
Returns: the second value
| const T& value ()
| value |
[const]
Returns the second value.
| Key index ()
| index |
[const]
Returns the first value.
Parameters:
| the | first value |
| Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:15 2003, using kdoc 2.0a54. |