KSortableValueList< T, Key > Class Template Reference
KSortableValueList is a special QValueList for KSortableItem. More...
#include <ksortablevaluelist.h>
Inheritance diagram for KSortableValueList< T, Key >:


Public Member Functions | |
| void | insert (Key i, const T &t) |
| T & | operator[] (Key i) |
| const T & | operator[] (Key i) const |
| void | sort () |
Detailed Description
template<class T, class Key = int>
class KSortableValueList< T, Key >
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.
Definition at line 129 of file ksortablevaluelist.h.
Member Function Documentation
|
||||||||||||||||
|
Insert a KSortableItem with the given values.
Definition at line 137 of file ksortablevaluelist.h. |
|
||||||||||
|
Returns the first value of the KSortableItem at the given position.
Definition at line 146 of file ksortablevaluelist.h. |
|
||||||||||
|
Returns the first value of the KSortableItem at the given position.
Definition at line 154 of file ksortablevaluelist.h. |
|
|||||||||
|
Sorts the KSortableItems.
Definition at line 161 of file ksortablevaluelist.h. |
The documentation for this class was generated from the following file:
