KCMUtils
kpluginproxymodel.cpp
32bool KPluginProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex & /*sourceParent*/) const
57 if (left.data(KPluginModel::SortableRole).toBool() && right.data(KPluginModel::SortableRole).toBool()) {
58 return left.data(KPluginModel::NameRole).toString().compare(right.data(KPluginModel::NameRole).toString(), Qt::CaseInsensitive) < 0;
66 const QString leftLabel = left.data(KCategorizedSortFilterProxyModel::CategorySortRole).toString();
67 const QString rightLabel = right.data(KCategorizedSortFilterProxyModel::CategorySortRole).toString();
CategorySortRole
std::optional< QSqlQuery > query(const QString &queryStatement)
QString name(StandardAction id)
sourceModel
QVariant data(int role) const const
Q_EMITQ_EMIT
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
void invalidate()
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
qsizetype indexOf(const QRegularExpression &re, qsizetype from) const const
CaseInsensitive
QTextStream & left(QTextStream &stream)
QTextStream & right(QTextStream &stream)
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.