class KSortableValueList

KSortableValueList is a special QValueList for KSortableItem. More...

Definition#include <ksortablevaluelist.h>
Template formKSortableValueList<class T, class Key = int>
InheritsQValueList (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

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:
ithe first value
tthe 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

void  sort ()

sort

Sorts the KSortableItems.


Generated by: caleb on tcdevel on Tue Jan 28 12:54:04 2003, using kdoc $.