File: systemsettingsrunner.h

package info (click to toggle)
systemsettings 4%3A6.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,960 kB
  • sloc: cpp: 2,876; xml: 184; python: 47; makefile: 3; sh: 3
file content (25 lines) | stat: -rw-r--r-- 689 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
    SPDX-FileCopyrightText: 2006 Aaron Seigo <aseigo@kde.org>
    SPDX-FileCopyrightText: 2021 Alexander Lohnau <alexander.lohnau@gmx.de>

    SPDX-License-Identifier: LGPL-2.0-only
*/

#pragma once

#include <KRunner/AbstractRunner>

class SystemsettingsRunner : public KRunner::AbstractRunner
{
    Q_OBJECT

public:
    explicit SystemsettingsRunner(QObject *parent, const KPluginMetaData &metaData);

    void match(KRunner::RunnerContext &context) override;
    void run(const KRunner::RunnerContext &context, const KRunner::QueryMatch &match) override;
    QMimeData *mimeDataForMatch(const KRunner::QueryMatch &match) override;

private:
    QList<KPluginMetaData> m_modules;
};