QortalOS Brooklyn for Raspberry Pi 4
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
659 B

/*
SPDX-FileCopyrightText: 2021 Alexander Lohnau <[email protected]>
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;
};