summaryrefslogtreecommitdiffstats
path: root/src/nfc/qnfcglobal.h
diff options
context:
space:
mode:
authorMichael Zanetti <michael.zanetti@nokia.com>2011-10-19 17:53:02 +0200
committerQt by Nokia <qt-info@nokia.com>2011-11-11 07:35:00 +0100
commitf0daca9ff8108b15e0ede3ea638393541d2149e0 (patch)
tree723cab6c932fae3912bfae00a2f3c0ae68ad2e5d /src/nfc/qnfcglobal.h
parentae1cbc39bfdbf42a2788e8a94ca1e7f4e1058641 (diff)
added Connectivity namespaces (QtBluetooth and QtNfc)
Change-Id: I5f3062c857e657a6d05ab29edfa2f1b48cb173f8 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/nfc/qnfcglobal.h')
-rw-r--r--src/nfc/qnfcglobal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nfc/qnfcglobal.h b/src/nfc/qnfcglobal.h
index f282bb19..4252a7bb 100644
--- a/src/nfc/qnfcglobal.h
+++ b/src/nfc/qnfcglobal.h
@@ -43,6 +43,11 @@
#include <QtCore/qglobal.h>
+#define QTNFC_PREPEND_NAMESPACE(name) ::QtNfc::name
+#define QTNFC_BEGIN_NAMESPACE namespace QtNfc {
+#define QTNFC_END_NAMESPACE }
+#define QTNFC_USE_NAMESPACE using namespace QtNfc;
+
#if defined(Q_OS_WIN)
# if defined(QT_NODLL)
# undef QT_MAKEDLL