summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/networkmanager
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-01-04 02:13:14 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-01-04 02:13:14 (GMT)
commitc68598b2bd82abee5da2596949e1e95c9a59e584 (patch)
treee7de2438252f83d8825920835ccbbb550c897eea /src/plugins/bearer/networkmanager
parent2fa4daa2acd0af503f5802eff773f1fa2117a788 (diff)
downloadQt-c68598b2bd82abee5da2596949e1e95c9a59e584.zip
Qt-c68598b2bd82abee5da2596949e1e95c9a59e584.tar.gz
Qt-c68598b2bd82abee5da2596949e1e95c9a59e584.tar.bz2
Emit updateCompleted() when requestUpdate() is called.
Diffstat (limited to 'src/plugins/bearer/networkmanager')
-rw-r--r--src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp8
-rw-r--r--src/plugins/bearer/networkmanager/qnetworkmanagerengine.h2
2 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp b/src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp
index 3de20a3..0af3675 100644
--- a/src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp
+++ b/src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp
@@ -116,6 +116,7 @@ QNetworkManagerEngine::~QNetworkManagerEngine()
void QNetworkManagerEngine::doRequestUpdate()
{
+ emit updateCompleted();
}
QString QNetworkManagerEngine::getInterfaceFromId(const QString &id)
@@ -319,6 +320,13 @@ void QNetworkManagerEngine::activeConnectionPropertiesChanged(const QString &pat
}
}
+void QNetworkManagerEngine::devicePropertiesChanged(const QString &path,
+ const QMap<QString, QVariant> &properties)
+{
+ qDebug() << Q_FUNC_INFO << path;
+ qDebug() << properties;
+}
+
void QNetworkManagerEngine::deviceAdded(const QDBusObjectPath &path)
{
QNetworkManagerInterfaceDevice device(path.path());
diff --git a/src/plugins/bearer/networkmanager/qnetworkmanagerengine.h b/src/plugins/bearer/networkmanager/qnetworkmanagerengine.h
index 9e8af3b..1636c91 100644
--- a/src/plugins/bearer/networkmanager/qnetworkmanagerengine.h
+++ b/src/plugins/bearer/networkmanager/qnetworkmanagerengine.h
@@ -87,6 +87,8 @@ private Q_SLOTS:
const QMap<QString, QVariant> &properties);
void activeConnectionPropertiesChanged(const QString &path,
const QMap<QString, QVariant> &properties);
+ void devicePropertiesChanged(const QString &path,
+ const QMap<QString, QVariant> &properties);
void deviceAdded(const QDBusObjectPath &path);
void deviceRemoved(const QDBusObjectPath &path);