Fix user authentication and details
This commit is contained in:
parent
8bfe69aada
commit
15a510b68d
@ -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) {
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user