KDECore
ksortablelist.h
Go to the documentation of this file.
bool operator>(const KSortableItem< T, Key > &i2) const
Compares the two items.
Definition: ksortablelist.h:70
KSortableItem is a QPair that provides several operators for sorting.
Definition: ksortablelist.h:35
#define T
KSortableItem< T, Key > & operator=(const KSortableItem< T, Key > &i)
Assignment operator, just copies the item.
Definition: ksortablelist.h:59
KSortableItem(Key i, const T &t)
Creates a new KSortableItem with the given values.
Definition: ksortablelist.h:43
void insert(Key i, const T &t)
Insert a KSortableItem with the given values.
Definition: ksortablelist.h:152
T & operator[](Key i)
Returns the first value of the KSortableItem at the given position.
Definition: ksortablelist.h:161
bool operator!=(const KSortableItem< T, Key > &i2) const
Compares the two items.
Definition: ksortablelist.h:105
KSortableList is a QList which associates a key with each item in the list.
Definition: ksortablelist.h:144
KSortableItem(const KSortableItem< T, Key > &rhs)
Creates a new KSortableItem that copies another one.
Definition: ksortablelist.h:48
bool operator>=(const KSortableItem< T, Key > &i2) const
Compares the two items.
Definition: ksortablelist.h:84
bool operator==(const KSortableItem< T, Key > &i2) const
Compares the two items.
Definition: ksortablelist.h:98
const T & operator[](Key i) const
Returns the first value of the KSortableItem at the given position.
Definition: ksortablelist.h:169
KSortableItem()
Creates a new KSortableItem with uninitialized values.
Definition: ksortablelist.h:54
Definition: kaboutdata.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.