diff --git a/libguh-core/guhdbusservice.cpp b/libguh-core/guhdbusservice.cpp index 38fea3c8..6183a2ec 100644 --- a/libguh-core/guhdbusservice.cpp +++ b/libguh-core/guhdbusservice.cpp @@ -25,7 +25,7 @@ namespace guhserver { QDBusConnection GuhDBusService::s_connection = QDBusConnection::systemBus(); -GuhDBusService::GuhDBusService(const QString &objectPath, QObject *parent) : QObject(parent) +GuhDBusService::GuhDBusService(const QString &objectPath, UserManager *parent) : QObject(parent) { bool status = s_connection.registerService("io.guh.nymead"); if (!status) { diff --git a/libguh-core/guhdbusservice.h b/libguh-core/guhdbusservice.h index beed2dd4..74724116 100644 --- a/libguh-core/guhdbusservice.h +++ b/libguh-core/guhdbusservice.h @@ -34,7 +34,7 @@ class GuhDBusService : public QObject, public QDBusContext Q_CLASSINFO("D-Bus Interface", "io.guh.nymead") public: - explicit GuhDBusService(const QString &objectPath, QObject *parent = nullptr); + explicit GuhDBusService(const QString &objectPath, UserManager *parent = nullptr); static void setBusType(QDBusConnection::BusType busType); diff --git a/libguh-core/hardwaremanagerimplementation.h b/libguh-core/hardwaremanagerimplementation.h index ee76c171..2f1adb0c 100644 --- a/libguh-core/hardwaremanagerimplementation.h +++ b/libguh-core/hardwaremanagerimplementation.h @@ -56,6 +56,7 @@ public: QtAvahiServiceBrowser *avahiBrowser() override; BluetoothLowEnergyManager *bluetoothLowEnergyManager() override; + // D-Bus method for enable/disable bluetooth support Q_SCRIPTABLE void EnableBluetooth(const bool &enabled); private: