aboutsummaryrefslogtreecommitdiffstats
path: root/src/webchannel/qmetaobjectpublisher_p.h
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2014-01-15 16:35:38 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-31 13:02:04 +0100
commita3463f8c873f19f9b2aff66d9a633739bb633128 (patch)
tree0726e3bd92e01d49bc1c9f3bc9151b81fad1495c /src/webchannel/qmetaobjectpublisher_p.h
parent00a91c1bab7a121af67f279c06710259fedebeb6 (diff)
Fix compilation when building with namespaced Qt.
Wrap everything in the QtWebChannel module with the Qt namespace or use the Qt namespace where appropriate. Change-Id: I1ef2b2f5eb22ec5e04ca76c034ef8ebf4043b899 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/webchannel/qmetaobjectpublisher_p.h')
-rw-r--r--src/webchannel/qmetaobjectpublisher_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webchannel/qmetaobjectpublisher_p.h b/src/webchannel/qmetaobjectpublisher_p.h
index 5cdb8f6..3e80d24 100644
--- a/src/webchannel/qmetaobjectpublisher_p.h
+++ b/src/webchannel/qmetaobjectpublisher_p.h
@@ -50,6 +50,8 @@
#include <QBasicTimer>
#include <QPointer>
+QT_BEGIN_NAMESPACE
+
class QWebChannel;
#include "qwebchannelglobal.h"
@@ -222,4 +224,6 @@ private:
QBasicTimer timer;
};
+QT_END_NAMESPACE
+
#endif // QMETAOBJECTPUBLISHER_P_H