KCal Library
sortablelist.h
Go to the documentation of this file.
SortableList(const QList< T > &list)
Constructs a sortable list by copying another one.
Definition: sortablelist.h:99
int count() const
bool containsSorted(const T &value) const
Return whether the list contains value value.
Definition: sortablelist.h:110
int findLT(const T &value, int start=0) const
Search the list for the last item < value.
Definition: sortablelist.h:229
void removeAt(int i)
iterator erase(iterator pos)
T value(int i) const
int count(const T &value) const
int findGE(const T &value, int start=0) const
Search the list for the first item >= value.
Definition: sortablelist.h:246
int findGT(const T &value, int start=0) const
Search the list for the first item > value.
Definition: sortablelist.h:264
int findSorted(const T &value, int start=0) const
Search the list for the item equal to value.
Definition: sortablelist.h:195
iterator end()
void insert(int i, const T &value)
int insertSorted(const T &value)
Insert a value in the list, in correct sorted order.
Definition: sortablelist.h:282
int findLE(const T &value, int start=0) const
Search the list for the last item <= value.
Definition: sortablelist.h:212
int removeSorted(const T &value, int start=0)
Remove value value from the list.
Definition: sortablelist.h:292
iterator begin()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.