QtNetwork/qnetworkconfiguration.h Source File
Go to the documentation of this file.
42 #ifndef QNETWORKCONFIGURATION_H
43 #define QNETWORKCONFIGURATION_H
45 #ifndef QT_MOBILITY_BEARER
48 # include "qmobilityglobal.h"
55 #if defined(Q_OS_WIN) && defined(interface)
61 #ifndef QT_MOBILITY_BEARER
64 #define QNetworkConfigurationExport Q_NETWORK_EXPORT
67 #define QNetworkConfigurationExport Q_BEARER_EXPORT
70 class QNetworkConfigurationPrivate;
84 InternetAccessPoint = 0,
94 ServiceSpecificPurpose
98 Undefined = 0x0000001,
100 Discovered = 0x0000006,
103 Q_DECLARE_FLAGS(StateFlags, StateFlag)
105 #ifndef QT_MOBILITY_BEARER
119 StateFlags state()
const;
121 Purpose purpose()
const;
123 #ifndef QT_MOBILITY_BEARER
126 QT_DEPRECATED
inline QString bearerName()
const {
return bearerTypeName(); }
128 BearerType bearerType()
const;
129 QString bearerTypeName()
const;
135 bool isRoamingAvailable()
const;
139 bool isValid()
const;
142 friend class QNetworkConfigurationPrivate;
144 friend class QNetworkConfigurationManagerPrivate;
145 friend class QNetworkSessionPrivate;
149 #ifndef QT_MOBILITY_BEARER
157 #endif // QNETWORKCONFIGURATION_H
GLuint GLuint GLsizei GLenum type
#define QNetworkConfigurationExport
bool operator!=(const QNetworkConfiguration &other) const
bool operator==(const Attribute &cA, const AttributeInstance< type > &cB)
This operator compares the two attributes and NOT their values.
#define QT_BEGIN_NAMESPACE
GLuint const GLchar * name