QtNetwork/qnetworkconfigmanager.h Source File
Go to the documentation of this file.
42 #ifndef QNETWORKCONFIGURATIONMANAGER_H
43 #define QNETWORKCONFIGURATIONMANAGER_H
45 #ifdef QT_MOBILITY_BEARER
46 # include "qmobilityglobal.h"
52 #ifndef QT_NO_BEARERMANAGEMENT
56 #ifndef QT_MOBILITY_BEARER
58 #define QNetworkConfigurationManagerExport Q_NETWORK_EXPORT
62 #define QNetworkConfigurationManagerExport Q_BEARER_EXPORT
65 class QNetworkConfigurationManagerPrivate;
72 CanStartAndStopInterfaces = 0x00000001,
73 DirectConnectionRouting = 0x00000002,
74 SystemSessionSupport = 0x00000004,
75 ApplicationLevelRoaming = 0x00000008,
76 ForcedRoaming = 0x00000010,
77 DataStatistics = 0x00000020,
78 NetworkSessionRequired = 0x00000040
81 Q_DECLARE_FLAGS(Capabilities, Capability)
86 QNetworkConfigurationManager::Capabilities capabilities() const;
92 bool isOnline() const;
95 void updateConfigurations();
101 void onlineStateChanged(
bool isOnline);
102 void updateCompleted();
105 Q_DECLARE_OPERATORS_FOR_FLAGS(QNetworkConfigurationManager::Capabilities)
107 #ifndef QT_MOBILITY_BEARER
115 #endif // QT_NO_BEARERMANAGEMENT
117 #endif // QNETWORKCONFIGURATIONMANAGER_H
#define QT_BEGIN_NAMESPACE
#define QNetworkConfigurationManagerExport