diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-01 05:28:32 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-03 02:09:21 (GMT) |
commit | 0a903bf4995ed65367eb17c024af3f16aef57510 (patch) | |
tree | 33c748752f10607c2a28118a208b68abe931dd62 /src/plugins/bearer/nativewifi | |
parent | d3b580fe8b2b0c185f0eadbf794156058496eff3 (diff) | |
download | Qt-0a903bf4995ed65367eb17c024af3f16aef57510.zip Qt-0a903bf4995ed65367eb17c024af3f16aef57510.tar.gz Qt-0a903bf4995ed65367eb17c024af3f16aef57510.tar.bz2 |
Add defaultConfiguration() function to all bearer management engines.
Diffstat (limited to 'src/plugins/bearer/nativewifi')
-rw-r--r-- | src/plugins/bearer/nativewifi/qnativewifiengine.cpp | 5 | ||||
-rw-r--r-- | src/plugins/bearer/nativewifi/qnativewifiengine.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/bearer/nativewifi/qnativewifiengine.cpp b/src/plugins/bearer/nativewifi/qnativewifiengine.cpp index 1cd419b..af538a8 100644 --- a/src/plugins/bearer/nativewifi/qnativewifiengine.cpp +++ b/src/plugins/bearer/nativewifi/qnativewifiengine.cpp @@ -473,4 +473,9 @@ QNetworkSessionPrivate *QNativeWifiEngine::createSessionBackend() return new QNetworkSessionPrivateImpl; } +QNetworkConfigurationPrivatePointer QNativeWifiEngine::defaultConfiguration() +{ + return QNetworkConfigurationPrivatePointer(); +} + QT_END_NAMESPACE diff --git a/src/plugins/bearer/nativewifi/qnativewifiengine.h b/src/plugins/bearer/nativewifi/qnativewifiengine.h index 39b6ea4..83d9e2c 100644 --- a/src/plugins/bearer/nativewifi/qnativewifiengine.h +++ b/src/plugins/bearer/nativewifi/qnativewifiengine.h @@ -86,6 +86,8 @@ public: QNetworkSessionPrivate *createSessionBackend(); + QNetworkConfigurationPrivatePointer defaultConfiguration(); + inline bool available() const { return handle != 0; } public Q_SLOTS: |