PlasmaCore
#include <runnermodel.h>
|
| enum | Roles {
Type = Qt::UserRole + 1,
Label,
Icon,
Relevance,
Data,
Id,
SubText,
Enabled,
RunnerId,
RunnerName,
Actions
} |
| |
This model provides bindings to use KRunner from QML.
- Author
- Aaron Seigo aseig.nosp@m.o@kd.nosp@m.e.org
Definition at line 39 of file runnermodel.h.
of the model, they will be accessible from delegates
| Enumerator |
|---|
| Type |
|
| Label |
|
| Icon |
|
| Relevance |
|
| Data |
|
| Id |
|
| SubText |
|
| Enabled |
|
| RunnerId |
|
| RunnerName |
|
| Actions |
|
Definition at line 67 of file runnermodel.h.
| RunnerModel::RunnerModel |
( |
QObject * |
parent = 0 | ) |
|
| int RunnerModel::count |
( |
| ) |
const |
| void RunnerModel::countChanged |
( |
| ) |
|
|
signal |
| QString RunnerModel::currentQuery |
( |
| ) |
const |
| QVariant RunnerModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
| bool RunnerModel::isRunning |
( |
| ) |
const |
| void RunnerModel::queryChanged |
( |
| ) |
|
|
signal |
| int RunnerModel::rowCount |
( |
const QModelIndex & |
index | ) |
const |
| void RunnerModel::run |
( |
int |
row | ) |
|
| QStringList RunnerModel::runners |
( |
| ) |
const |
| void RunnerModel::runnersChanged |
( |
| ) |
|
|
signal |
| void RunnerModel::runningChanged |
( |
bool |
running | ) |
|
|
signal |
| void RunnerModel::scheduleQuery |
( |
const QString & |
query | ) |
|
|
slot |
| void RunnerModel::setRunners |
( |
const QStringList & |
allowedRunners | ) |
|
| string set the KRunner RunnerModel::query |
|
readwrite |
| QStringList RunnerModel::runners |
|
readwrite |
| bool RunnerModel::running |
|
read |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:42 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.