QNetworkSession Class Reference
[QtNetwork module]
Inherits QObject.
Types
- enum SessionError { UnknownSessionError, SessionAbortedError, RoamingError, OperationNotSupportedError, InvalidConfigurationError }
- enum State { Invalid, NotAvailable, Connecting, Connected, ..., Roaming }
Methods
Qt Signals
Detailed Description
Type Documentation
QNetworkSession.SessionError
QNetworkSession.State
Method Documentation
QNetworkSession.__init__ (self, QNetworkConfiguration connConfig, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QNetworkSession.accept (self)
This method is also a Qt slot with the C++ signature void accept().
int QNetworkSession.activeTime (self)
int QNetworkSession.bytesReceived (self)
int QNetworkSession.bytesWritten (self)
QNetworkSession.close (self)
This method is also a Qt slot with the C++ signature void close().
QNetworkSession.connectNotify (self, SIGNAL() signal)
QNetworkSession.disconnectNotify (self, SIGNAL() signal)
SessionError QNetworkSession.error (self)
QString QNetworkSession.errorString (self)
QNetworkSession.ignore (self)
This method is also a Qt slot with the C++ signature void ignore().
bool QNetworkSession.isOpen (self)
QNetworkSession.migrate (self)
This method is also a Qt slot with the C++ signature void migrate().
QNetworkSession.open (self)
This method is also a Qt slot with the C++ signature void open().
QNetworkSession.reject (self)
This method is also a Qt slot with the C++ signature void reject().
QVariant QNetworkSession.sessionProperty (self, QString key)
QNetworkSession.setSessionProperty (self, QString key, QVariant value)
State QNetworkSession.state (self)
QNetworkSession.stop (self)
This method is also a Qt slot with the C++ signature void stop().
bool QNetworkSession.waitForOpened (self, int msecs = 30000)
Qt Signal Documentation
void closed ()
This is the default overload of this signal.
void error (QNetworkSession::SessionError)
This is the default overload of this signal.
void newConfigurationActivated ()
This is the default overload of this signal.
void opened ()
This is the default overload of this signal.
void preferredConfigurationChanged (const QNetworkConfiguration&,bool)
This is the default overload of this signal.
void stateChanged (QNetworkSession::State)
This is the default overload of this signal.