Merge PR #27: Added missing slot for network manger state change event
commit
df64e2c015
|
|
@ -780,6 +780,11 @@ void NetworkManager::onServiceUnregistered()
|
||||||
deinit();
|
deinit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void NetworkManager::onStateChanged(const uint &state)
|
||||||
|
{
|
||||||
|
setState(static_cast<NetworkManagerState>(state));
|
||||||
|
}
|
||||||
|
|
||||||
void NetworkManager::onDeviceAdded(const QDBusObjectPath &deviceObjectPath)
|
void NetworkManager::onDeviceAdded(const QDBusObjectPath &deviceObjectPath)
|
||||||
{
|
{
|
||||||
if (m_networkDevices.keys().contains(deviceObjectPath)) {
|
if (m_networkDevices.keys().contains(deviceObjectPath)) {
|
||||||
|
|
|
||||||
|
|
@ -187,6 +187,7 @@ private slots:
|
||||||
void onServiceRegistered();
|
void onServiceRegistered();
|
||||||
void onServiceUnregistered();
|
void onServiceUnregistered();
|
||||||
|
|
||||||
|
void onStateChanged(const uint &state);
|
||||||
void onDeviceAdded(const QDBusObjectPath &deviceObjectPath);
|
void onDeviceAdded(const QDBusObjectPath &deviceObjectPath);
|
||||||
void onDeviceRemoved(const QDBusObjectPath &deviceObjectPath);
|
void onDeviceRemoved(const QDBusObjectPath &deviceObjectPath);
|
||||||
void onPropertiesChanged(const QVariantMap &properties);
|
void onPropertiesChanged(const QVariantMap &properties);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue