equal
deleted
inserted
replaced
140 #ifdef Q_WS_MAC |
140 #ifdef Q_WS_MAC |
141 OSMenuRef macMenu(OSMenuRef merge=0); |
141 OSMenuRef macMenu(OSMenuRef merge=0); |
142 #endif |
142 #endif |
143 |
143 |
144 #ifdef Q_WS_WINCE |
144 #ifdef Q_WS_WINCE |
145 HMENU wceMenu(bool create = false); |
145 HMENU wceMenu(); |
146 #endif |
146 #endif |
147 |
147 |
148 bool separatorsCollapsible() const; |
148 bool separatorsCollapsible() const; |
149 void setSeparatorsCollapsible(bool collapse); |
149 void setSeparatorsCollapsible(bool collapse); |
150 |
150 |
415 friend void qt_mac_trayicon_activate_action(QMenu *, QAction *action); |
415 friend void qt_mac_trayicon_activate_action(QMenu *, QAction *action); |
416 friend bool qt_mac_watchingAboutToShow(QMenu *); |
416 friend bool qt_mac_watchingAboutToShow(QMenu *); |
417 friend OSStatus qt_mac_menu_event(EventHandlerCallRef, EventRef, void *); |
417 friend OSStatus qt_mac_menu_event(EventHandlerCallRef, EventRef, void *); |
418 friend bool qt_mac_activate_action(OSMenuRef, uint, QAction::ActionEvent, bool); |
418 friend bool qt_mac_activate_action(OSMenuRef, uint, QAction::ActionEvent, bool); |
419 friend void qt_mac_emit_menuSignals(QMenu *, bool); |
419 friend void qt_mac_emit_menuSignals(QMenu *, bool); |
|
420 friend void qt_mac_menu_emit_hovered(QMenu *menu, QAction *action); |
420 #endif |
421 #endif |
421 }; |
422 }; |
422 |
423 |
423 #endif // QT_NO_MENU |
424 #endif // QT_NO_MENU |
424 |
425 |