diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-03-04 05:22:31 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-03-04 05:22:31 (GMT) |
commit | 1e7b2415bf1bc853655e0a85a8cb21ecd24b149e (patch) | |
tree | 242ddf36c289b84d7d09054bf05230772f9f05af /src/plugins/bearer/nativewifi/qnativewifiengine.h | |
parent | 2c6de1ce1489668253b7d3a5df3f2194fbd1bee7 (diff) | |
download | Qt-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/plugins/bearer/nativewifi/qnativewifiengine.h')
-rw-r--r-- | src/plugins/bearer/nativewifi/qnativewifiengine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/bearer/nativewifi/qnativewifiengine.h b/src/plugins/bearer/nativewifi/qnativewifiengine.h index a9a9375..56489b6 100644 --- a/src/plugins/bearer/nativewifi/qnativewifiengine.h +++ b/src/plugins/bearer/nativewifi/qnativewifiengine.h @@ -90,12 +90,12 @@ public: inline bool available() const { return handle != 0; } + bool requiresPolling() const; + public Q_SLOTS: void scanComplete(); private: - QTimer pollTimer; - Qt::HANDLE handle; }; |