summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/icd
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-04-15 07:01:12 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-04-15 07:01:12 (GMT)
commit6e189eb28161f2d09e0c71ecd590b7ccfd82321c (patch)
tree635377ded015a9252a54b1940051e636d83ab675 /src/plugins/bearer/icd
parent3925bab16a88822fcef749cb6ba7c542688c2fae (diff)
downloadQt-6e189eb28161f2d09e0c71ecd590b7ccfd82321c.zip
Qt-6e189eb28161f2d09e0c71ecd590b7ccfd82321c.tar.gz
Qt-6e189eb28161f2d09e0c71ecd590b7ccfd82321c.tar.bz2
Add missing QT_NO_BEARERMANAGEMENT ifdefs.
This add addition ifdefs around code missed by MR 517.
Diffstat (limited to 'src/plugins/bearer/icd')
-rw-r--r--src/plugins/bearer/icd/main.cpp4
-rw-r--r--src/plugins/bearer/icd/qicdengine.cpp4
-rw-r--r--src/plugins/bearer/icd/qnetworksession_impl.cpp4
-rw-r--r--src/plugins/bearer/icd/qnetworksession_impl.h4
4 files changed, 16 insertions, 0 deletions
diff --git a/src/plugins/bearer/icd/main.cpp b/src/plugins/bearer/icd/main.cpp
index ad1a918..491112b 100644
--- a/src/plugins/bearer/icd/main.cpp
+++ b/src/plugins/bearer/icd/main.cpp
@@ -45,6 +45,8 @@
#include <QtCore/qdebug.h>
+#ifndef QT_NO_BEARERMANAGEMENT
+
QT_BEGIN_NAMESPACE
class QIcdEnginePlugin : public QBearerEnginePlugin
@@ -82,3 +84,5 @@ Q_EXPORT_STATIC_PLUGIN(QIcdEnginePlugin)
Q_EXPORT_PLUGIN2(qicdbearer, QIcdEnginePlugin)
QT_END_NAMESPACE
+
+#endif
diff --git a/src/plugins/bearer/icd/qicdengine.cpp b/src/plugins/bearer/icd/qicdengine.cpp
index a6cf0c2..fc9b469 100644
--- a/src/plugins/bearer/icd/qicdengine.cpp
+++ b/src/plugins/bearer/icd/qicdengine.cpp
@@ -47,6 +47,8 @@
#include <iapconf.h>
#include <iapmonitor.h>
+#ifndef QT_NO_BEARERMANAGEMENT
+
QT_BEGIN_NAMESPACE
IcdNetworkConfigurationPrivate::IcdNetworkConfigurationPrivate()
@@ -988,3 +990,5 @@ QNetworkSessionPrivate *QIcdEngine::createSessionBackend()
#include "qicdengine.moc"
QT_END_NAMESPACE
+
+#endif // QT_NO_BEARERMANAGEMENT
diff --git a/src/plugins/bearer/icd/qnetworksession_impl.cpp b/src/plugins/bearer/icd/qnetworksession_impl.cpp
index 2928a31..a6acce0 100644
--- a/src/plugins/bearer/icd/qnetworksession_impl.cpp
+++ b/src/plugins/bearer/icd/qnetworksession_impl.cpp
@@ -52,6 +52,8 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+#ifndef QT_NO_BEARERMANAGEMENT
+
QT_BEGIN_NAMESPACE
QDBusArgument &operator<<(QDBusArgument &argument,
@@ -1044,3 +1046,5 @@ void QNetworkSessionPrivateImpl::clearProxyInformation()
}
QT_END_NAMESPACE
+
+#endif // QT_NO_BEARERMANAGEMENT
diff --git a/src/plugins/bearer/icd/qnetworksession_impl.h b/src/plugins/bearer/icd/qnetworksession_impl.h
index d15f401..c43b1f0 100644
--- a/src/plugins/bearer/icd/qnetworksession_impl.h
+++ b/src/plugins/bearer/icd/qnetworksession_impl.h
@@ -66,6 +66,8 @@
#include <icd/dbus_api.h>
+#ifndef QT_NO_BEARERMANAGEMENT
+
QT_BEGIN_NAMESPACE
class QIcdEngine;
@@ -210,5 +212,7 @@ Q_DECLARE_METATYPE(ICd2DetailsList);
QT_END_NAMESPACE
+#endif // QT_NO_BEARERMANAGEMENT
+
#endif //QNETWORKSESSIONPRIVATE_H