summaryrefslogtreecommitdiffstats
path: root/src/gui/util
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/util
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/util')
-rw-r--r--src/gui/util/qsystemtrayicon_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/util/qsystemtrayicon_mac.mm b/src/gui/util/qsystemtrayicon_mac.mm
index 5cadbbd..348657e 100644
--- a/src/gui/util/qsystemtrayicon_mac.mm
+++ b/src/gui/util/qsystemtrayicon_mac.mm
@@ -93,6 +93,7 @@ extern bool qt_mac_execute_apple_script(const QString &script, AEDesc *ret); //q
extern void qtsystray_sendActivated(QSystemTrayIcon *i, int r); //qsystemtrayicon.cpp
extern NSString *keySequenceToKeyEqivalent(const QKeySequence &accel); // qmenu_mac.mm
extern NSUInteger keySequenceModifierMask(const QKeySequence &accel); // qmenu_mac.mm
+extern Qt::MouseButton cocoaButton2QtButton(NSInteger buttonNum);
QT_END_NAMESPACE
QT_USE_NAMESPACE
@@ -382,7 +383,6 @@ QT_END_NAMESPACE
[self menuTrackingDone:nil];
}
-extern Qt::MouseButton cocoaButton2QtButton(NSInteger buttonNum);
- (void)otherMouseDown:(NSEvent *)mouseEvent
{
[self mousePressed:mouseEvent button:cocoaButton2QtButton([mouseEvent buttonNumber])];