42 #ifndef QNETWORKSESSION_H 43 #define QNETWORKSESSION_H 45 #include <QtCore/qobject.h> 46 #include <QtCore/qstring.h> 47 #include <QtNetwork/qnetworkinterface.h> 48 #include <QtCore/qvariant.h> 49 #include <QtNetwork/qnetworkconfiguration.h> 51 #ifndef QT_NO_BEARERMANAGEMENT 53 #if defined(Q_OS_WIN) && defined(interface) 59 #ifndef QT_MOBILITY_BEARER 60 #include <QtCore/qshareddata.h> 63 #define QNetworkSessionExport Q_NETWORK_EXPORT 65 #include "qmobilityglobal.h" 67 #define QNetworkSessionExport Q_BEARER_EXPORT 87 UnknownSessionError = 0,
91 InvalidConfigurationError
99 #ifndef QT_NO_NETWORKINTERFACE 113 bool waitForOpened(
int msecs = 30000);
132 void newConfigurationActivated();
143 #ifndef QT_MOBILITY_BEARER 153 #endif // QT_NO_BEARERMANAGEMENT 155 #endif // QNETWORKSESSION_H The QVariant class acts like a union for the most common Qt data types.
#define QT_END_NAMESPACE
This macro expands to.
QNetworkSessionPrivate * d
static bool ignore(const char *test, const char *const *table)
State
This enum describes the connectivity state of the session.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
virtual void connectNotify(const char *signal)
This virtual function is called when something has been connected to signal in this object...
Q_GUI_EXPORT QString errorString(EGLint code=eglGetError())
SessionError
This enum describes the session errors that can occur.
The QNetworkConfiguration class provides an abstraction of one or more access point configurations...
#define QT_BEGIN_NAMESPACE
This macro expands to.
The State element defines configurations of objects and properties.
#define QNetworkSessionExport
The QNetworkSession class provides control over the system's access points and enables session manage...
virtual void disconnectNotify(const char *signal)
This virtual function is called when something has been disconnected from signal in this object...
The QNetworkInterface class provides a listing of the host's IP addresses and network interfaces...
int open(const char *, int,...)