Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qcocoansmenu.h File Reference

(2996ca031efcd97ef9866186ae53e96ed75c9fbf)

#include <QtCore/private/qcore_mac_p.h>
+ Include dependency graph for qcocoansmenu.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 QT_FORWARD_DECLARE_CLASS (QCocoaMenu)
 
 QT_FORWARD_DECLARE_CLASS (QCocoaMenuItem)
 
 QT_DECLARE_NAMESPACED_OBJC_INTERFACE (QCocoaNSMenuDelegate, NSObject< NSMenuDelegate >+(instancetype) sharedMenuDelegate;-(NSMenuItem *) findItemInMenu:(NSMenu *) menu forKey:(NSString *) key modifiers:(NSUInteger) modifiers;) QT_DECLARE_NAMESPACED_OBJC_INTERFACE(QCocoaNSMenu
 

Variables

NSMenu QCocoaMenuplatformMenu
 
instancetype initWithPlatformMenu
 
instancetype initWithoutPlatformMenu
 

Function Documentation

◆ QT_DECLARE_NAMESPACED_OBJC_INTERFACE()

QT_DECLARE_NAMESPACED_OBJC_INTERFACE ( QCocoaNSMenuDelegate ,
NSObject< NSMenuDelegate >+(instancetype) sharedMenuDelegate;-(NSMenuItem *) findItemInMenu:(NSMenu *) menu forKey:(NSString *) key modifiers:(NSUInteger) modifiers;  )

◆ QT_FORWARD_DECLARE_CLASS() [1/2]

QT_FORWARD_DECLARE_CLASS ( QCocoaMenu )

◆ QT_FORWARD_DECLARE_CLASS() [2/2]

QT_FORWARD_DECLARE_CLASS ( QCocoaMenuItem )

Variable Documentation

◆ initWithoutPlatformMenu

instancetype initWithoutPlatformMenu

Definition at line 31 of file qcocoansmenu.h.

◆ initWithPlatformMenu

instancetype initWithPlatformMenu

Definition at line 30 of file qcocoansmenu.h.

Referenced by QCocoaMenu::QCocoaMenu().

◆ platformMenu