summaryrefslogtreecommitdiffstats
path: root/src/network/bearer/qnetworkconfiguration_p.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-08-05 02:12:31 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-08-05 02:12:31 (GMT)
commit5a98d58c1ed78262c20b05aa178a92b4a1a097df (patch)
tree00c8c459c2bdbf438a35e5087250319d4766fe29 /src/network/bearer/qnetworkconfiguration_p.h
parent7de5f19f0f62f181132394da6d7b2c8484cd42d9 (diff)
parent5749421fdaff0305d217712e3174c85a76b367c4 (diff)
downloadQt-5a98d58c1ed78262c20b05aa178a92b4a1a097df.zip
Qt-5a98d58c1ed78262c20b05aa178a92b4a1a097df.tar.gz
Qt-5a98d58c1ed78262c20b05aa178a92b4a1a097df.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'src/network/bearer/qnetworkconfiguration_p.h')
-rw-r--r--src/network/bearer/qnetworkconfiguration_p.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/network/bearer/qnetworkconfiguration_p.h b/src/network/bearer/qnetworkconfiguration_p.h
index 966dfb2..2b0bbf6 100644
--- a/src/network/bearer/qnetworkconfiguration_p.h
+++ b/src/network/bearer/qnetworkconfiguration_p.h
@@ -68,6 +68,7 @@ public:
QNetworkConfigurationPrivate ()
: mutex(QMutex::Recursive), type(QNetworkConfiguration::Invalid),
purpose(QNetworkConfiguration::UnknownPurpose),
+ bearerType(QNetworkConfiguration::BearerUnknown),
isValid(false), roamingSupported(false)
{
}
@@ -78,24 +79,22 @@ public:
serviceNetworkMembers.clear();
}
- virtual QString bearerName() const
+ virtual QString bearerTypeName() const
{
- QMutexLocker locker(&mutex);
-
- return bearer;
+ return QLatin1String("Unknown");
}
QMap<unsigned int, QNetworkConfigurationPrivatePointer> serviceNetworkMembers;
mutable QMutex mutex;
- QString bearer;
QString name;
QString id;
QNetworkConfiguration::StateFlags state;
QNetworkConfiguration::Type type;
QNetworkConfiguration::Purpose purpose;
+ QNetworkConfiguration::BearerType bearerType;
bool isValid;
bool roamingSupported;