|
|
|
|
@ -50,7 +50,10 @@ public: |
|
|
|
|
void clip(const QString &msg); |
|
|
|
|
void match(KRunner::RunnerContext &) override; |
|
|
|
|
void run(const KRunner::RunnerContext &, const KRunner::QueryMatch &) override; |
|
|
|
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) |
|
|
|
|
QList<QAction *> actionsForMatch(const KRunner::QueryMatch &) override; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
void reloadConfiguration() override; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -71,7 +74,11 @@ private: |
|
|
|
|
QFileSystemWatcher watcher; |
|
|
|
|
|
|
|
|
|
bool showActions; |
|
|
|
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) |
|
|
|
|
QList<QAction *> orderedActions; |
|
|
|
|
#else |
|
|
|
|
QList<KRunner::Action *> orderedActions; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
const QRegularExpression queryPrefix = QRegularExpression("^pass( .+)?$"); |
|
|
|
|
}; |
|
|
|
|
|