summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/connman/qconnmanengine.h
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-07-29 06:39:05 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-08-02 00:09:06 (GMT)
commitd12f39e50e4144f3272424bb0bff18c857105654 (patch)
treeffde9a7863c78af2adabcb9c7e85c79d9f79cfc6 /src/plugins/bearer/connman/qconnmanengine.h
parent613bc8eb31d8a80b43aa045ab2040b7cb7e0eadf (diff)
downloadQt-d12f39e50e4144f3272424bb0bff18c857105654.zip
Qt-d12f39e50e4144f3272424bb0bff18c857105654.tar.gz
Qt-d12f39e50e4144f3272424bb0bff18c857105654.tar.bz2
Use an enum to return the bearer type of a network configuration.
Task-number: QTBUG-12378 Reviewed-by: Alex
Diffstat (limited to 'src/plugins/bearer/connman/qconnmanengine.h')
-rw-r--r--src/plugins/bearer/connman/qconnmanengine.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/bearer/connman/qconnmanengine.h b/src/plugins/bearer/connman/qconnmanengine.h
index 0f6dc1c..2ee6da5 100644
--- a/src/plugins/bearer/connman/qconnmanengine.h
+++ b/src/plugins/bearer/connman/qconnmanengine.h
@@ -80,8 +80,6 @@ public:
virtual QString getInterfaceFromId(const QString &id);
bool hasIdentifier(const QString &id);
- virtual QString bearerName(const QString &id);
-
virtual void connectToId(const QString &id);
virtual void disconnectFromId(const QString &id);
@@ -125,7 +123,7 @@ private:
QString networkFromId(const QString &id);
QNetworkConfiguration::StateFlags getStateForService(const QString &service);
- QString typeToBearer(const QString &type);
+ QNetworkConfiguration::BearerType typeToBearer(const QString &type);
void removeConfiguration(const QString &servicePath);
void addServiceConfiguration(const QString &servicePath);