42 #ifndef QNETWORKSESSIONPRIVATE_H 43 #define QNETWORKSESSIONPRIVATE_H 58 #include "QtCore/qsharedpointer.h" 60 #ifndef QT_NO_BEARERMANAGEMENT 87 virtual void syncStateWithInterface() = 0;
89 #ifndef QT_NO_NETWORKINTERFACE 95 virtual void open() = 0;
96 virtual void close() = 0;
97 virtual void stop() = 0;
101 virtual void accept() = 0;
102 virtual void ignore() = 0;
103 virtual void reject() = 0;
115 virtual RConnection* nativeSession() = 0;
117 static TInt nativeOpenSocket(
QNetworkSession& session, RSocket& socket, TUint family, TUint
type, TUint protocol);
119 static TInt nativeOpenHostResolver(
QNetworkSession& session, RHostResolver& resolver, TUint family, TUint protocol);
135 void quitPendingWaitsForOpened();
168 #endif // QT_NO_BEARERMANAGEMENT 170 #endif // QNETWORKSESSIONPRIVATE_H The QVariant class acts like a union for the most common Qt data types.
QExplicitlySharedDataPointer< QNetworkConfigurationPrivate > d
QVariant sessionProperty(const QString &key) const
Returns the value for property key.
#define QT_END_NAMESPACE
This macro expands to.
The QMutex class provides access serialization between threads.
QNetworkConfigurationPrivatePointer privateConfiguration(const QNetworkConfiguration &config) const
quint64 activeTime() const
Returns the number of seconds that the session has been active.
void migrate()
Instructs the session to roam to the new access point.
void reject()
The new access point is not suitable for the application.
void stateChanged(QNetworkSession::State)
This signal is emitted whenever the state of the network session changes.
static bool ignore(const char *test, const char *const *table)
State
This enum describes the connectivity state of the session.
QNetworkConfiguration serviceConfig
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QNetworkConfiguration activeConfig
virtual void setALREnabled(bool)
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.
void preferredConfigurationChanged(const QNetworkConfiguration &config, bool isSeamless)
This signal is emitted when the preferred configuration/access point for the session changes...
void accept()
Instructs the session to permanently accept the new access point.
void setPrivateConfiguration(QNetworkConfiguration &config, QNetworkConfigurationPrivatePointer ptr) const
quint64 bytesWritten() const
Returns the amount of data sent in bytes; otherwise 0.
QNetworkSession::State state
const T * ptr(const T &t)
State state() const
Returns the state of the session.
QNetworkConfiguration publicConfig
The QNetworkSession class provides control over the system's access points and enables session manage...
bool isOpen() const
Returns true if this session is open.
quint64 bytesReceived() const
Returns the amount of data received in bytes; otherwise 0.
void stop()
Invalidates all open sessions against the network interface and therefore stops the underlying networ...
void closed()
This signal is emitted when the network session has been closed.
virtual ~QNetworkSessionPrivate()
The QNetworkInterface class provides a listing of the host's IP addresses and network interfaces...
void setSessionProperty(const QString &key, const QVariant &value)
Sets the property value on the session.
void newConfigurationActivated()
This signal is emitted once the session has roamed to the new access point.
void close()
Decreases the session counter on the associated network configuration.
int open(const char *, int,...)