summaryrefslogtreecommitdiffstats
path: root/src/network/bearer/qbearerengine_p.h
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-03-04 05:22:31 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-03-04 05:22:31 (GMT)
commit1e7b2415bf1bc853655e0a85a8cb21ecd24b149e (patch)
tree242ddf36c289b84d7d09054bf05230772f9f05af /src/network/bearer/qbearerengine_p.h
parent2c6de1ce1489668253b7d3a5df3f2194fbd1bee7 (diff)
downloadQt-1e7b2415bf1bc853655e0a85a8cb21ecd24b149e.zip
Qt-1e7b2415bf1bc853655e0a85a8cb21ecd24b149e.tar.gz
Qt-1e7b2415bf1bc853655e0a85a8cb21ecd24b149e.tar.bz2
Updating polling mechanism for bearer management engines.
Improves the polling mechanism by sharing a single timer for all poll based engines. Updates are only performed for a poll based engine iff a QNetworkConfigurationManager object has been constructed or a QNetworkConfiguration is held externally from the engine.
Diffstat (limited to 'src/network/bearer/qbearerengine_p.h')
-rw-r--r--src/network/bearer/qbearerengine_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/bearer/qbearerengine_p.h b/src/network/bearer/qbearerengine_p.h
index 5e12b0f..028c174 100644
--- a/src/network/bearer/qbearerengine_p.h
+++ b/src/network/bearer/qbearerengine_p.h
@@ -89,6 +89,9 @@ public:
virtual QNetworkConfigurationPrivatePointer defaultConfiguration() = 0;
+ virtual bool requiresPolling() const;
+ bool configurationsInUse() const;
+
Q_SIGNALS:
void configurationAdded(QNetworkConfigurationPrivatePointer config);
void configurationRemoved(QNetworkConfigurationPrivatePointer config);