summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcocoamenuloader_mac_p.h
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-08-13 10:27:55 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-08-13 10:44:28 (GMT)
commitb52da4ab2179079a6aff95891786d2f6598048b5 (patch)
tree5e422343842469f02c47be1c2bc408df74589048 /src/gui/kernel/qcocoamenuloader_mac_p.h
parent167b63d2250e7923d7b660076a80e82af07d9cdb (diff)
downloadQt-b52da4ab2179079a6aff95891786d2f6598048b5.zip
Qt-b52da4ab2179079a6aff95891786d2f6598048b5.tar.gz
Qt-b52da4ab2179079a6aff95891786d2f6598048b5.tar.bz2
Multiple "Edit/Special Characters" menu entries on Mac OS X (Cocoa)
Every time [NSApp setMainMenu:] is called, Cocoa will add the 'Special Characters' item to the 'Edit' menu. Before adding a new entry it will make sure that menu items list doesn't contain an item with the selector 'orderFrontCharacterPalette' & a 'nil' target. We need to return the index for the first entry (we have QCocoaMenuLoader as target). Task-number: QTBUG-12842 Reviewed-by: Denis
Diffstat (limited to 'src/gui/kernel/qcocoamenuloader_mac_p.h')
-rw-r--r--src/gui/kernel/qcocoamenuloader_mac_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qcocoamenuloader_mac_p.h b/src/gui/kernel/qcocoamenuloader_mac_p.h
index a75ad0a..edacfa5 100644
--- a/src/gui/kernel/qcocoamenuloader_mac_p.h
+++ b/src/gui/kernel/qcocoamenuloader_mac_p.h
@@ -88,6 +88,7 @@
- (IBAction)hide:(id)sender;
- (IBAction)qtDispatcherToQAction:(id)sender;
- (void)qtUpdateMenubar;
+- (void)orderFrontCharacterPalette:(id)sender;
@end
#endif // QT_MAC_USE_COCOA