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.
 
 
 
 
 
 

33 lines
770 B

/*
SPDX-FileCopyrightText: 2009 Aaron Seigo <[email protected]>
SPDX-FileCopyrightText: 2016 Martin Gräßlin <[email protected]>
SPDX-License-Identifier: LGPL-2.0-only
*/
#ifndef KWINRUNNER_H
#define KWINRUNNER_H
#include <krunner/abstractrunner.h>
using namespace Plasma;
class KWinRunner : public AbstractRunner
{
Q_OBJECT
public:
explicit KWinRunner(QObject *parent, const KPluginMetaData &metaData, const QVariantList &args);
~KWinRunner() override;
void match(RunnerContext &context) override;
void run(const RunnerContext &context, const QueryMatch &action) override;
private:
void checkAvailability(const QString &name, const QString &oldOwner, const QString &newOwner);
private:
bool m_enabled = false;
};
#endif