Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qcocoansmenu.h File Reference

(76d861f39f5d063a0e065c7e3646606ed6a3b9d1)

#include <QtCore/private/qcore_mac_p.h>
import <AppKit/NSMenu.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 34 of file qcocoansmenu.h.

◆ initWithPlatformMenu

instancetype initWithPlatformMenu

Definition at line 33 of file qcocoansmenu.h.

◆ platformMenu

NSMenu QCocoaMenu* platformMenu
readnonatomicassign

Definition at line 32 of file qcocoansmenu.h.