summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qstylehints.cpp
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-09-23 15:01:04 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-28 12:18:37 +0200
commitdea76f3496ee077e271b334c7e8101fed5119481 (patch)
tree6a8833a12f851391f148ea1aae1fcfd5eaef88b9 /src/gui/kernel/qstylehints.cpp
parentcb57d36f4559faf63acdca2cfb7b35431b959164 (diff)
Make qtbase build with Qt-in-namespace again
Change-Id: I5faa8690a05d6ec352fc69c0b69848539f2ed216 Reviewed-on: http://codereview.qt-project.org/5460 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/gui/kernel/qstylehints.cpp')
-rw-r--r--src/gui/kernel/qstylehints.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qstylehints.cpp b/src/gui/kernel/qstylehints.cpp
index c917049a22..7585d23558 100644
--- a/src/gui/kernel/qstylehints.cpp
+++ b/src/gui/kernel/qstylehints.cpp
@@ -43,6 +43,8 @@
#include <qplatformintegration_qpa.h>
#include <private/qguiapplication_p.h>
+QT_BEGIN_NAMESPACE
+
static inline QVariant hint(QPlatformIntegration::StyleHint h)
{
return QGuiApplicationPrivate::platformIntegration()->styleHint(h);
@@ -78,3 +80,5 @@ int QStyleHints::cursorFlashTime() const
{
return hint(QPlatformIntegration::CursorFlashTime).toInt();
}
+
+QT_END_NAMESPACE