QNetworkSession
#include <QtNetwork/QNetworkSession>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QNetworkSession
Overview
Public Types Index
enum SessionErrorUnknownSessionError 0, SessionAbortedError, RoamingError, OperationNotSupportedError, InvalidConfigurationError | |
enum StateInvalid 0, NotAvailable, Connecting, Connected, Closing, Disconnected, Roaming |
Public Functions Index
QNetworkSession (const QNetworkConfiguration &connConfig, QObject *parent=0) | |
virtual | ~QNetworkSession () |
quint64 | activeTime () const |
quint64 | bytesReceived () const |
quint64 | bytesWritten () const |
QNetworkConfiguration | configuration () const |
SessionError | error () const |
QString | errorString () const |
QNetworkInterface | interface () const |
bool | isOpen () const |
QVariant | sessionProperty (const QString &key) const |
void | setSessionProperty (const QString &key, const QVariant &value) |
State | state () const |
bool | waitForOpened (int msecs=30000) |
Protected Functions Index
virtual void | connectNotify (const char *signal) |
virtual void | disconnectNotify (const char *signal) |
Public Slots Index
Signals Index
void | closed () |
void | error (QNetworkSession::SessionError) |
void | newConfigurationActivated () |
void | opened () |
void | preferredConfigurationChanged (const QNetworkConfiguration &config, bool isSeamless) |
void | stateChanged (QNetworkSession::State) |
Public Types
- UnknownSessionError 0
- SessionAbortedError
- RoamingError
- OperationNotSupportedError
- InvalidConfigurationError
- Invalid 0
- NotAvailable
- Connecting
- Connected
- Closing
- Disconnected
- Roaming
Public Functions
virtual
Destructor.
quint64
quint64
quint64
SessionError
bool
void
State
bool
Protected Functions
virtual void
virtual void
Public Slots
void
void
void
void
void
void
void
Signals
void
void
void
void
void
void
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy