summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/qnetworksession_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/bearer/qnetworksession_impl.h')
-rw-r--r--src/plugins/bearer/qnetworksession_impl.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/plugins/bearer/qnetworksession_impl.h b/src/plugins/bearer/qnetworksession_impl.h
index 3becbf0..a4902eb 100644
--- a/src/plugins/bearer/qnetworksession_impl.h
+++ b/src/plugins/bearer/qnetworksession_impl.h
@@ -60,6 +60,8 @@
#include <QtCore/qdatetime.h>
+#ifndef QT_NO_BEARERMANAGEMENT
+
QT_BEGIN_NAMESPACE
class QBearerEngineImpl;
@@ -116,18 +118,20 @@ private Q_SLOTS:
void decrementTimeout();
private:
- bool opened;
-
QBearerEngineImpl *engine;
- QNetworkSession::SessionError lastError;
-
quint64 startTime;
+ QNetworkSession::SessionError lastError;
+
int sessionTimeout;
+
+ bool opened;
};
QT_END_NAMESPACE
+#endif // QT_NO_BEARERMANAGEMENT
+
#endif //QNETWORKSESSION_IMPL_H