summaryrefslogtreecommitdiffstats
path: root/src/network/bearer/qnetworkconfiguration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/bearer/qnetworkconfiguration.h')
-rw-r--r--src/network/bearer/qnetworkconfiguration.h30
1 files changed, 24 insertions, 6 deletions
diff --git a/src/network/bearer/qnetworkconfiguration.h b/src/network/bearer/qnetworkconfiguration.h
index dad6198..3b49d0a 100644
--- a/src/network/bearer/qnetworkconfiguration.h
+++ b/src/network/bearer/qnetworkconfiguration.h
@@ -42,19 +42,33 @@
#ifndef QNETWORKCONFIGURATION_H
#define QNETWORKCONFIGURATION_H
-#include <QtCore/qglobal.h>
+#ifndef QT_MOBILITY_BEARER
+# include <QtCore/qglobal.h>
+#else
+# include "qmobilityglobal.h"
+#endif
+
#include <QtCore/qshareddata.h>
#include <QtCore/qstring.h>
#include <QtCore/qlist.h>
-QT_BEGIN_HEADER
+#if defined(Q_OS_WIN) && defined(interface)
+#undef interface
+#endif
-QT_BEGIN_NAMESPACE
+QT_BEGIN_HEADER
-QT_MODULE(Network)
+#ifndef QT_MOBILITY_BEARER
+ QT_BEGIN_NAMESPACE
+ QT_MODULE(Network)
+ #define QNetworkConfigurationExport Q_NETWORK_EXPORT
+#else
+ QTM_BEGIN_NAMESPACE
+ #define QNetworkConfigurationExport Q_BEARER_EXPORT
+#endif
class QNetworkConfigurationPrivate;
-class Q_NETWORK_EXPORT QNetworkConfiguration
+class QNetworkConfigurationExport QNetworkConfiguration
{
public:
QNetworkConfiguration();
@@ -108,7 +122,11 @@ private:
QExplicitlySharedDataPointer<QNetworkConfigurationPrivate> d;
};
-QT_END_NAMESPACE
+#ifndef QT_MOBILITY_BEARER
+ QT_END_NAMESPACE
+#else
+ QTM_END_NAMESPACE
+#endif
QT_END_HEADER