summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcocoaview_mac.mm
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-02-22 12:50:34 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-02-22 12:50:34 (GMT)
commit991fa0beff10e53824879adbe4b52e4dacce6700 (patch)
tree4322b960c4e1d12034facf31372b8bedea7998b8 /src/gui/kernel/qcocoaview_mac.mm
parent42a0771c161ba9aa8d5967d6bbcbea49a76425bc (diff)
downloadQt-991fa0beff10e53824879adbe4b52e4dacce6700.zip
Qt-991fa0beff10e53824879adbe4b52e4dacce6700.tar.gz
Qt-991fa0beff10e53824879adbe4b52e4dacce6700.tar.bz2
Cocoa: Fix build with namespace
Reviewed-by: MortenS
Diffstat (limited to 'src/gui/kernel/qcocoaview_mac.mm')
-rw-r--r--src/gui/kernel/qcocoaview_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qcocoaview_mac.mm b/src/gui/kernel/qcocoaview_mac.mm
index d5e7534..455176e 100644
--- a/src/gui/kernel/qcocoaview_mac.mm
+++ b/src/gui/kernel/qcocoaview_mac.mm
@@ -83,6 +83,7 @@ extern bool qt_sendSpontaneousEvent(QObject *, QEvent *); // qapplication.cpp
extern OSViewRef qt_mac_nativeview_for(const QWidget *w); // qwidget_mac.mm
extern QPointer<QWidget> qt_mouseover; //qapplication_mac.mm
extern QPointer<QWidget> qt_button_down; //qapplication_mac.cpp
+extern Qt::MouseButton cocoaButton2QtButton(NSInteger buttonNum);
struct dndenum_mapper
{
@@ -692,7 +693,6 @@ extern "C" {
qt_button_down = 0;
}
-extern Qt::MouseButton cocoaButton2QtButton(NSInteger buttonNum);
- (void)otherMouseDown:(NSEvent *)theEvent
{
if (!qt_button_down)