summaryrefslogtreecommitdiffstats
path: root/src/networksettings/connman/qnetworksettingsinterface_p.h
diff options
context:
space:
mode:
authorSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-11-22 17:01:06 +0200
committerSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-11-24 11:53:21 +0000
commit724309463d63480ca755d5f309825a9dd078d012 (patch)
treeef26954371c0b56141ca59894f67dd14446f933b /src/networksettings/connman/qnetworksettingsinterface_p.h
parent5f7d1bacb8701e24ea185c63e05e5f8883cbef2c (diff)
Fix compilation with namespaces
Task-number: QTBUG-64693 Change-Id: I35487b54271f031077c0f96a90eb47f0683caa77 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'src/networksettings/connman/qnetworksettingsinterface_p.h')
-rw-r--r--src/networksettings/connman/qnetworksettingsinterface_p.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/networksettings/connman/qnetworksettingsinterface_p.h b/src/networksettings/connman/qnetworksettingsinterface_p.h
index 37aceaf..728e64a 100644
--- a/src/networksettings/connman/qnetworksettingsinterface_p.h
+++ b/src/networksettings/connman/qnetworksettingsinterface_p.h
@@ -47,6 +47,8 @@
class NetConnmanTechnologyInterface;
+QT_BEGIN_NAMESPACE
+
class QNetworkSettingsInterfacePrivate : public QObject
{
Q_OBJECT
@@ -57,6 +59,10 @@ public:
void setPowered(const bool power);
void setState(QNetworkSettingsState::States aState);
void scan();
+ QString name() const {return m_name;}
+ QNetworkSettingsType::Types type() const {return m_type.type();}
+ QNetworkSettingsState::States state() const {return m_state.state();}
+ bool powered() const {return m_powered;}
public slots:
void updateProperty(const QString &name, const QDBusVariant &value);
@@ -93,4 +99,7 @@ public:
}
};
+
+QT_END_NAMESPACE
+
#endif // QNETWORKSETTINGSINTERFACEPRIVATE_H