Public Methods
KSortableValueList is a special QValueList for
KSortableItem. It includes convenience operators
to get the first value of the KSortableItem and a method
to sort all items.
void insert ( Key i, const T& t )
| insert |
Insert a KSortableItem with the given values.
Parameters:
i | the first value
|
t | the second value
|
T& operator[] ( Key i )
| operator[] |
Returns the first value of the KSortableItem at the given position.
Returns: the first value of the KSortableItem
const T& operator[] ( Key i )
| operator[] |
[const]
Returns the first value of the KSortableItem at the given position.
Returns: the first value of the KSortableItem
Sorts the KSortableItems.
Generated by: caleb on tcdevel on Tue Jan 28 12:54:04 2003, using kdoc $. |