KCompletion
kcompletionmatches.cpp
79 std::transform(crbegin(), crend(), std::back_inserter(stringList), [](const KSortableItem<QString> &item) {
This structure is returned by KCompletion::allWeightedMatches().
Definition kcompletionmatches.h:42
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-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.