diff options
author | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-07-08 15:55:53 +0200 |
---|---|---|
committer | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-07-08 15:55:53 +0200 |
commit | 36dcf4b27450f04ac60a05cd2837c1b58fd5b24a (patch) | |
tree | d234242b8db0195fdee5b832e048a142a28f37fd /src/main_qmladaptor.h | |
parent | 0f73c7ff3f8a84bcacf077644d6a199301f58945 (diff) | |
download | RWA.Support.DesktopApp-36dcf4b27450f04ac60a05cd2837c1b58fd5b24a.tar.gz RWA.Support.DesktopApp-36dcf4b27450f04ac60a05cd2837c1b58fd5b24a.tar.bz2 RWA.Support.DesktopApp-36dcf4b27450f04ac60a05cd2837c1b58fd5b24a.zip |
Classes share one specific D-Bus object now.
Diffstat (limited to 'src/main_qmladaptor.h')
-rw-r--r-- | src/main_qmladaptor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main_qmladaptor.h b/src/main_qmladaptor.h index a289a74..48923d5 100644 --- a/src/main_qmladaptor.h +++ b/src/main_qmladaptor.h @@ -37,6 +37,7 @@ #include <QJsonArray> #include "RWAHost.h" +#include "DBusAPI.h" class MainQMLAdaptor : public QObject { @@ -59,7 +60,8 @@ class MainQMLAdaptor : public QObject Q_PROPERTY(QMessageBox::Icon _messageDialogIcon READ getMessageDialogIcon NOTIFY messageDialogIconChanged) public: - explicit MainQMLAdaptor(QObject *parent, QQmlApplicationEngine *engine = nullptr); + explicit MainQMLAdaptor(QObject *parent, QQmlApplicationEngine *engine = nullptr, + DBusAPI *dbus_api = nullptr); void setRWAHostModel(QList<QObject*> *rwa_hosts); |