diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-23 03:12:44 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-23 03:12:44 (GMT) |
commit | 055fa76e7575be55899127de2d254e0f0e90a1db (patch) | |
tree | 00047ce97412b53a265343a2f5a8bab92410bb7a /src/plugins/bearer/icd/qicdengine.h | |
parent | b1c59bde1e29a62141a10f30a15f02bc1d59558b (diff) | |
download | Qt-055fa76e7575be55899127de2d254e0f0e90a1db.zip Qt-055fa76e7575be55899127de2d254e0f0e90a1db.tar.gz Qt-055fa76e7575be55899127de2d254e0f0e90a1db.tar.bz2 |
Make compile on Maemo6.
Diffstat (limited to 'src/plugins/bearer/icd/qicdengine.h')
-rw-r--r-- | src/plugins/bearer/icd/qicdengine.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/plugins/bearer/icd/qicdengine.h b/src/plugins/bearer/icd/qicdengine.h index 30b5711..6ebe40d 100644 --- a/src/plugins/bearer/icd/qicdengine.h +++ b/src/plugins/bearer/icd/qicdengine.h @@ -80,8 +80,6 @@ class QIcdEngine : public QBearerEngine { Q_OBJECT - friend class QNetworkSessionPrivateImpl; - public: QIcdEngine(QObject *parent = 0); ~QIcdEngine(); @@ -98,15 +96,25 @@ public: void deleteConfiguration(const QString &iap_id); -private: + inline QNetworkConfigurationPrivatePointer configuration(const QString &id) + { + QMutexLocker locker(&mutex); + + return accessPointConfigurations.value(id); + } + inline void addSessionConfiguration(QNetworkConfigurationPrivatePointer ptr) { + QMutexLocker locker(&mutex); + accessPointConfigurations.insert(ptr->id, ptr); emit configurationAdded(ptr); } inline void changedSessionConfiguration(QNetworkConfigurationPrivatePointer ptr) { + QMutexLocker locker(&mutex); + emit configurationChanged(ptr); } |