KRunner
runnermodel.cpp
25 // FIXME: HACK: some runners stay in a running but finished state, not possible to say if it's actually over
68 if (QSet<QString>(allowedRunners.begin(), allowedRunners.end()) == QSet<QString>(runnersIds.begin(), runnersIds.end())) {
104 if (!index.isValid() || index.parent().isValid() || index.column() > 0 || index.row() < 0 || index.row() >= m_matches.count()) {
175 connect(m_manager, &Plasma::RunnerManager::queryFinished, this, &RunnerModel::queryHasFinished);
T & first()
std::optional< QSqlQuery > query(const QString &queryStatement)
The RunnerManager class decides what installed runners are runnable, and their ratings....
Definition: runnermanager.h:46
DisplayRole
int count(const T &value) const const
int column() const const
A match returned by an AbstractRunner in response to a given RunnerContext.
Definition: querymatch.h:34
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void matchesChanged(const QList< Plasma::QueryMatch > &matches)
Emitted each time a new match is added to the list.
QHash::iterator insert(const Key &key, const T &value)
virtual QHash< int, QByteArray > roleNames() const const
void timeout()
const T & at(int i) const const
bool isValid() const const
int row() const const
QList::iterator begin()
QModelIndex parent() const const
QList::iterator end()
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 03:51:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 03:51:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.