diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-01-12 06:15:26 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-01-12 06:40:19 (GMT) |
commit | e620ab4a391ea1c86718856b31f6a5c4928a18a7 (patch) | |
tree | 68bba7ebd385d1f4feda9d560c423f2f561dad9f /src/plugins/bearer/generic | |
parent | aed972b88e96596114ef8a5a350063744220f8c4 (diff) | |
download | Qt-e620ab4a391ea1c86718856b31f6a5c4928a18a7.zip Qt-e620ab4a391ea1c86718856b31f6a5c4928a18a7.tar.gz Qt-e620ab4a391ea1c86718856b31f6a5c4928a18a7.tar.bz2 |
Partially convert Symbian backend into a plugin.
QNetworkSession functionality not converted yet.
Diffstat (limited to 'src/plugins/bearer/generic')
-rw-r--r-- | src/plugins/bearer/generic/qgenericengine.cpp | 7 | ||||
-rw-r--r-- | src/plugins/bearer/generic/qgenericengine.h | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/bearer/generic/qgenericengine.cpp b/src/plugins/bearer/generic/qgenericengine.cpp index 9294fad..d50aa75 100644 --- a/src/plugins/bearer/generic/qgenericengine.cpp +++ b/src/plugins/bearer/generic/qgenericengine.cpp @@ -142,6 +142,8 @@ static QString qGetInterfaceType(const QString &interface) QGenericEngine::QGenericEngine(QObject *parent) : QNetworkSessionEngine(parent) { + qDebug() << Q_FUNC_INFO; + connect(&pollTimer, SIGNAL(timeout()), this, SLOT(doRequestUpdate())); pollTimer.setInterval(10000); doRequestUpdate(); @@ -314,5 +316,10 @@ QNetworkSession::State QGenericEngine::sessionStateForId(const QString &id) return QNetworkSession::Invalid; } +QNetworkConfigurationManager::Capabilities QGenericEngine::capabilities() const +{ + return QNetworkConfigurationManager::ForcedRoaming; +} + QT_END_NAMESPACE diff --git a/src/plugins/bearer/generic/qgenericengine.h b/src/plugins/bearer/generic/qgenericengine.h index a671ceb..730301b 100644 --- a/src/plugins/bearer/generic/qgenericengine.h +++ b/src/plugins/bearer/generic/qgenericengine.h @@ -71,6 +71,8 @@ public: QNetworkSession::State sessionStateForId(const QString &id); + QNetworkConfigurationManager::Capabilities capabilities() const; + private Q_SLOTS: void doRequestUpdate(); |