KCompletion
kcompletionmatches.cpp
79 std::transform(crbegin(), crend(), std::back_inserter(stringList), [](const KSortableItem<QString> &item) {
QStringList list(bool sort=true) const
Returns the matches as a QStringList.
Definition kcompletionmatches.cpp:70
bool sorting() const
If sorting() returns false, the matches aren't sorted by their weight, even if true is passed to list...
Definition kcompletionmatches.cpp:85
KCompletionMatches & operator=(const KCompletionMatches &)
assignment operator.
Definition kcompletionmatches.cpp:35
KSortableItem is a QPair that provides several operators for sorting.
Definition ksortablelist.h:26
KSortableList is a QList which associates a key with each item in the list.
Definition ksortablelist.h:150
iterator begin()
const_reverse_iterator crbegin() const const
const_reverse_iterator crend() const const
iterator end()
iterator erase(const_iterator begin, const_iterator end)
QList< T > & operator=(QList< T > &&other)
void reserve(qsizetype size)
qsizetype size() const const
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:58:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:58:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.