/* SPDX-FileCopyrightText: 2009 Aaron Seigo SPDX-FileCopyrightText: 2016 Martin Gräßlin SPDX-License-Identifier: LGPL-2.0-only */ #pragma once #include using namespace KRunner; class KWinRunner : public AbstractRunner { Q_OBJECT public: explicit KWinRunner(QObject *parent, const KPluginMetaData &metaData); 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; };