5#ifndef QCOCOAMENUITEM_H
6#define QCOCOAMENUITEM_H
8#include <qpa/qplatformmenu.h>
11#include <QtCore/qpointer.h>
48 QPointer<QObject> parent;
75 inline NSMenuItem *
nsItem() {
return m_native; }
81 inline bool isMerged()
const {
return m_merged; }
82 inline bool isEnabled()
const {
return m_enabled && m_parentEnabled; }
84 inline bool isVisible()
const {
return m_isVisible; }
98 QPointer<QCocoaMenu> m_menu;
101#ifndef QT_NO_SHORTCUT
108 bool m_parentEnabled:1;
109 bool m_isSeparator:1;
The QIcon class provides scalable icons in different modes and states.
The QKeySequence class encapsulates a key sequence as used by shortcuts.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
#define Q_FORWARD_DECLARE_OBJC_CLASS(classname)
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLenum GLsizei const GLuint GLboolean enabled