KCompletion
ksortablelist.h
KSortableItem is a QPair that provides several operators for sorting.
Definition ksortablelist.h:26
KSortableItem< T, Key > & operator=(const KSortableItem< T, Key > &i)
Assignment operator, just copies the item.
Definition ksortablelist.h:56
bool operator!=(const KSortableItem< T, Key > &i2) const
Compares the two items.
Definition ksortablelist.h:108
KSortableItem(const KSortableItem< T, Key > &rhs)
Creates a new KSortableItem that copies another one.
Definition ksortablelist.h:41
bool operator>(const KSortableItem< T, Key > &i2) const
Compares the two items.
Definition ksortablelist.h:68
bool operator<=(const KSortableItem< T, Key > &i2) const
Compares the two items.
Definition ksortablelist.h:92
KSortableItem(Key i, const T &t)
Creates a new KSortableItem with the given values.
Definition ksortablelist.h:33
bool operator==(const KSortableItem< T, Key > &i2) const
Compares the two items.
Definition ksortablelist.h:100
bool operator<(const KSortableItem< T, Key > &i2) const
Compares the two items.
Definition ksortablelist.h:76
bool operator>=(const KSortableItem< T, Key > &i2) const
Compares the two items.
Definition ksortablelist.h:84
KSortableList is a QList which associates a key with each item in the list.
Definition ksortablelist.h:150
const T & operator[](Key i) const
Returns the first value of the KSortableItem at the given position.
Definition ksortablelist.h:176
T & operator[](Key i)
Returns the first value of the KSortableItem at the given position.
Definition ksortablelist.h:167
void insert(Key i, const T &t)
Insert a KSortableItem with the given values.
Definition ksortablelist.h:157
void append(QList< T > &&value)
iterator begin()
iterator end()
T value(qsizetype i) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:12:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:12:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.