diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-05 00:51:25 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-08 07:48:22 (GMT) |
commit | a307e9662c2b57ad16c2329754ea4795615de125 (patch) | |
tree | 48fe89e1c2edfda1e441a1db760ff63047cc209c /src/network | |
parent | df4b88078124fe993795bd436f3093b0120ffce2 (diff) | |
download | Qt-a307e9662c2b57ad16c2329754ea4795615de125.zip Qt-a307e9662c2b57ad16c2329754ea4795615de125.tar.gz Qt-a307e9662c2b57ad16c2329754ea4795615de125.tar.bz2 |
Remove implementation specific functions out of QNetworkSessionEngine.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/bearer/qnetworksessionengine_p.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/network/bearer/qnetworksessionengine_p.h b/src/network/bearer/qnetworksessionengine_p.h index 029c2c5..39c3d17 100644 --- a/src/network/bearer/qnetworksessionengine_p.h +++ b/src/network/bearer/qnetworksessionengine_p.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** @@ -73,28 +73,13 @@ class Q_NETWORK_EXPORT QNetworkSessionEngine : public QObject Q_OBJECT public: - enum ConnectionError { - InterfaceLookupError = 0, - ConnectError, - OperationNotSupported, - DisconnectionError, - }; - QNetworkSessionEngine(QObject *parent = 0); virtual ~QNetworkSessionEngine(); - virtual QString getInterfaceFromId(const QString &id) = 0; virtual bool hasIdentifier(const QString &id) = 0; - //virtual QString bearerName(const QString &id) = 0; - - virtual void connectToId(const QString &id) = 0; - virtual void disconnectFromId(const QString &id) = 0; - virtual void requestUpdate() = 0; - virtual QNetworkSession::State sessionStateForId(const QString &id) = 0; - virtual QNetworkConfigurationManager::Capabilities capabilities() const = 0; virtual QNetworkSessionPrivate *createSessionBackend() = 0; @@ -115,8 +100,6 @@ Q_SIGNALS: void configurationChanged(QNetworkConfigurationPrivatePointer config); void updateCompleted(); - - void connectionError(const QString &id, QNetworkSessionEngine::ConnectionError error); }; typedef QNetworkSessionEngine QBearerEngine; |