summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoahelpers.h
diff options
context:
space:
mode:
authorToby Tomkins <toby.tomkins@nokia.com>2011-11-28 11:33:08 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-29 03:44:58 +0100
commite881f4f5fdedf724ce2a5cd9fe2d448c4f8dbaa3 (patch)
treee7f0179e3263370dda392bf2125a5355696817a6 /src/plugins/platforms/cocoa/qcocoahelpers.h
parenta291519e3e391e6a9d59a35d0b51366f2e5583ae (diff)
Fixed Qtbase OSX specific namespace compilation.
Change-Id: Idacfa679df7aa6417f8017f80928907830d15df2 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoahelpers.h')
-rw-r--r--src/plugins/platforms/cocoa/qcocoahelpers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoahelpers.h b/src/plugins/platforms/cocoa/qcocoahelpers.h
index 57eaa2f54d..4ab19ee3fd 100644
--- a/src/plugins/platforms/cocoa/qcocoahelpers.h
+++ b/src/plugins/platforms/cocoa/qcocoahelpers.h
@@ -57,6 +57,8 @@
#include <private/qguiapplication_p.h>
#include <QtGui/qscreen.h>
+QT_BEGIN_NAMESPACE
+
class QPixmap;
class QString;
@@ -106,5 +108,7 @@ inline NSPoint qt_mac_flipPoint(const QPointF &p)
NSRect qt_mac_flipRect(const QRect &rect, QWindow *window);
+QT_END_NAMESPACE
+
#endif //QCOCOAHELPERS_H