Change contact email address as the nokia one will be no longer valid soon
[profile/ivi/ofono-qt.git] / lib / ofonoconnmancontext.cpp
index 5a4b648..e4ae48b 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
  *
- * Contact: Alexander Kanavin <alexander.kanavin@nokia.com>
+ * Contact: Alexander Kanavin <alex.kanavin@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
@@ -115,7 +115,7 @@ void OfonoConnmanContext::propertyChanged(const QString &property, const QVarian
     } else if (property == "Type") {
         emit typeChanged(value.value<QString>());
     } else if (property == "Username") {
-        emit userNameChanged(value.value<QString>());
+        emit usernameChanged(value.value<QString>());
     } else if (property == "Password") {
         emit passwordChanged(value.value<QString>());
     } else if (property == "Protocol") {
@@ -123,13 +123,15 @@ void OfonoConnmanContext::propertyChanged(const QString &property, const QVarian
     } else if (property == "MessageProxy") {
         emit messageProxyChanged(value.value<QString>());
     } else if (property == "MessageCenter") {
-            emit messageCenterChanged(value.value<QString>());
-
+        emit messageCenterChanged(value.value<QString>());
     } else if (property == "Settings") {
-
         QVariantMap map;
         value.value<QDBusArgument>()>>map;
         emit settingsChanged(map);
+    } else if (property == "IPv6.Settings") {
+        QVariantMap map;
+        value.value<QDBusArgument>()>>map;
+        emit IPv6SettingsChanged(map);
     }
 }
 
@@ -140,6 +142,13 @@ QVariantMap OfonoConnmanContext::settings() const
     return map;
 }
 
+QVariantMap OfonoConnmanContext::IPv6Settings() const
+{
+    QVariantMap map;
+    m_if->properties()["IPv6.Settings"].value<QDBusArgument>()>>map;
+    return map;
+}
+
 QString OfonoConnmanContext::path() const
 {
     return m_if->path();