Fix user authentication and details

This commit is contained in:
Simon Stürz 2018-01-16 10:25:23 +01:00 committed by Michael Zanetti
parent 8bfe69aada
commit 15a510b68d
3 changed files with 3 additions and 2 deletions

View File

@ -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) {

View File

@ -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);

View File

@ -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: