class KSortableValueList

# class KSortableValueList | KSortableValueList is a special QValueList for KSortableItem. More...
Definition | `#include <ksortablevaluelist.h>`
Template form | KSortableValueList<class T, class Key = int>
Inherits | QValueList (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- void insert ( Key i, const T& t )
- T& operator[] ( Key i )
- const T& operator[] ( Key i ) const
- void sort ()

## 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:

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

void sort () | ### sort

Sorts the KSortableItems.

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:15 2003, using kdoc 2.0a54.