summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-04-15 11:14:31 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-04-15 16:14:18 (GMT)
commitd02f862d2ff106517c2ad3fab6d6f089dbd9f367 (patch)
treedfbe98d24099b787a16eabc1f35e20857b8bdde5 /src/gui/widgets
parent8f79eebb365dbeaa4bb6da148cba1dedbd15a950 (diff)
downloadQt-d02f862d2ff106517c2ad3fab6d6f089dbd9f367.zip
Qt-d02f862d2ff106517c2ad3fab6d6f089dbd9f367.tar.gz
Qt-d02f862d2ff106517c2ad3fab6d6f089dbd9f367.tar.bz2
BT: Namespace compile fixes for Cocoa.
It worked in 4.5.0, so it should work in 4.5.1 too.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/qcocoamenu_mac.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/qcocoamenu_mac.mm b/src/gui/widgets/qcocoamenu_mac.mm
index c5fee66..6434289 100644
--- a/src/gui/widgets/qcocoamenu_mac.mm
+++ b/src/gui/widgets/qcocoamenu_mac.mm
@@ -55,11 +55,17 @@
QT_FORWARD_DECLARE_CLASS(QAction)
QT_FORWARD_DECLARE_CLASS(QWidget)
QT_FORWARD_DECLARE_CLASS(QApplication)
+QT_FORWARD_DECLARE_CLASS(QCoreApplication)
+QT_FORWARD_DECLARE_CLASS(QApplicationPrivate)
+QT_FORWARD_DECLARE_CLASS(QKeyEvent)
+QT_FORWARD_DECLARE_CLASS(QEvent)
QT_BEGIN_NAMESPACE
extern bool qt_sendSpontaneousEvent(QObject*, QEvent*); //qapplication.cpp
QT_END_NAMESPACE
+QT_USE_NAMESPACE
+
@implementation QT_MANGLE_NAMESPACE(QCocoaMenu)
- (id)initWithQMenu:(QMenu*)menu