diff options
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp')
-rw-r--r-- | accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp b/accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp new file mode 100644 index 00000000..f8841518 --- /dev/null +++ b/accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp | |||
@@ -0,0 +1,14 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <QObject> | ||
4 | #include <QtQmlIntegration/qqmlintegration.h> | ||
5 | |||
6 | class Systemd : public QObject { | ||
7 | Q_OBJECT; | ||
8 | QML_SINGLETON; | ||
9 | QML_ELEMENT; | ||
10 | |||
11 | public: | ||
12 | Q_INVOKABLE void stopUserUnit(const QString& unit, const QString& mode); | ||
13 | Q_INVOKABLE void setBrightness(const QString& subsystem, const QString& name, quint32 brightness); | ||
14 | }; | ||