summaryrefslogtreecommitdiffstats
path: root/src/nfc/qndefrecord.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nfc/qndefrecord.h')
-rw-r--r--src/nfc/qndefrecord.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/nfc/qndefrecord.h b/src/nfc/qndefrecord.h
index a1ab59b6..8e7b4b7d 100644
--- a/src/nfc/qndefrecord.h
+++ b/src/nfc/qndefrecord.h
@@ -4,7 +4,7 @@
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
-** This file is part of the Qt Mobility Components.
+** This file is part of the QtNfc module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Public License Usage
@@ -49,6 +49,8 @@
QT_BEGIN_HEADER
+QTNFC_BEGIN_NAMESPACE
+
class QNdefRecordPrivate;
class Q_NFC_EXPORT QNdefRecord
@@ -106,13 +108,17 @@ private:
className(const QNdefRecord &other) : QNdefRecord(other, typeNameFormat, type) { }
#define Q_DECLARE_ISRECORDTYPE_FOR_NDEF_RECORD(className, typeNameFormat_, type_) \
+ QTNFC_BEGIN_NAMESPACE \
template<> inline bool QNdefRecord::isRecordType<className>() const\
{ \
return (typeNameFormat() == typeNameFormat_ && type() == type_); \
- }
+ } \
+ QTNFC_END_NAMESPACE
uint qHash(const QNdefRecord &key);
+QTNFC_END_NAMESPACE
+
QT_END_HEADER
#endif // QNDEFRECORD_H