5#ifndef QCOCOAMENUITEM_H
6#define QCOCOAMENUITEM_H
8#include <qpa/qplatformmenu.h>
73 inline NSMenuItem *
nsItem() {
return m_native; }
79 inline bool isMerged()
const {
return m_merged; }
80 inline bool isEnabled()
const {
return m_enabled && m_parentEnabled; }
82 inline bool isVisible()
const {
return m_isVisible; }
106 bool m_parentEnabled:1;
107 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