diff -r ef0373b55136 -r 758a864f9613 src/gui/widgets/qcocoamenu_mac_p.h --- a/src/gui/widgets/qcocoamenu_mac_p.h Fri Sep 17 08:34:18 2010 +0300 +++ b/src/gui/widgets/qcocoamenu_mac_p.h Mon Oct 04 01:19:32 2010 +0300 @@ -76,6 +76,7 @@ } - (id)initWithQMenu:(QMenu*)menu; - (BOOL)menuHasKeyEquivalent:(NSMenu *)menu forEvent:(NSEvent *)event target:(id *)target action:(SEL *)action; +- (NSInteger)indexOfItemWithTarget:(id)anObject andAction:(SEL)actionSelector; @end #endif