summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/icd/qnetworksession_impl.h
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-07-28 06:02:45 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-07-28 06:02:45 (GMT)
commit7b10151cb6550fe8060217fad8549950eadd5fca (patch)
tree96a450a91f083ba3024ebc6eb85bae466b3c62d7 /src/plugins/bearer/icd/qnetworksession_impl.h
parent104e9d2b3f8ac981a277cb0d63a1e5be8e352275 (diff)
parent289f9a97c3828135bdc2fd6b3e8466c1c970a5c5 (diff)
downloadQt-7b10151cb6550fe8060217fad8549950eadd5fca.zip
Qt-7b10151cb6550fe8060217fad8549950eadd5fca.tar.gz
Qt-7b10151cb6550fe8060217fad8549950eadd5fca.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Cherry pick fix for MOBILITY-1234 from Qt Mobility. Cherry pick fix for QTMOBILITY-408 from Qt Mobility. Cherry pick fix for MOBILITY-1194 from Qt Mobility. Fix compilation error on Symbian^4. Fix detection of OCC functionality. Cherry pick fix for MOBILITY-1194 from Qt Mobility.
Diffstat (limited to 'src/plugins/bearer/icd/qnetworksession_impl.h')
-rw-r--r--src/plugins/bearer/icd/qnetworksession_impl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plugins/bearer/icd/qnetworksession_impl.h b/src/plugins/bearer/icd/qnetworksession_impl.h
index c43b1f0..390e508 100644
--- a/src/plugins/bearer/icd/qnetworksession_impl.h
+++ b/src/plugins/bearer/icd/qnetworksession_impl.h
@@ -170,6 +170,12 @@ private:
QNetworkConfigurationManager manager;
QIcdEngine *engine;
+ struct Statistics {
+ quint64 txData;
+ quint64 rxData;
+ quint64 activeTime;
+ };
+
// The config set on QNetworkSession.
QNetworkConfiguration config;
@@ -186,7 +192,7 @@ private:
friend class IcdListener;
void updateState(QNetworkSession::State);
void updateIdentifier(const QString &newId);
- quint64 getStatistics(bool sent) const;
+ Statistics getStatistics() const;
void cleanupSession(void);
void updateProxyInformation();