3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-16 04:05:53 +00:00
2022-03-05 22:41:29 +05:00

30 lines
659 B
C++

/*
SPDX-FileCopyrightText: 2021 Alexander Lohnau <alexander.lohnau@gmx.de>
SPDX-License-Identifier: LGPL-2.1-or-later
*/
#pragma once
#include <KRunner/AbstractRunner>
#include <KRunner/RunnerManager>
#include <KPluginMetaData>
#include <QAction>
#include <QObject>
using namespace Plasma;
class HelpRunner : public AbstractRunner
{
public:
HelpRunner(QObject *parent, const KPluginMetaData &pluginMetaData, const QVariantList &args);
void match(RunnerContext &context) override;
void run(const RunnerContext &context, const QueryMatch &match) override;
private:
RunnerManager *m_manager;
QList<QAction *> m_actionList;
};