4#ifndef QQUICKACTION_P_P_H
5#define QQUICKACTION_P_P_H
18#include <QtCore/private/qobject_p.h>
19#include <QtCore/qvariant.h>
20#include <QtCore/qstring.h>
21#if QT_CONFIG(shortcut)
22# include <QtGui/qkeysequence.h>
24#include <QtQuick/private/qquickitemchangelistener_p.h>
38 return action->d_func();
41#if QT_CONFIG(shortcut)
61#if QT_CONFIG(shortcut)
69 int shortcutId()
const;
82 void updateDefaultShortcutEntry();
91#if QT_CONFIG(shortcut)
94 ShortcutEntry *defaultShortcutEntry =
nullptr;
The QKeySequence class encapsulates a key sequence as used by shortcuts.
void trigger(QObject *, bool doToggle)
bool handleShortcutEvent(QObject *object, QShortcutEvent *event)
void itemDestroyed(QQuickItem *item) override
void registerItem(QQuickItem *item)
static QQuickActionPrivate * get(QQuickAction *action)
bool watchItem(QQuickItem *item)
void setEnabled(bool enable)
Abstract user interface action.
void itemVisibilityChanged(QQuickItem *item) override
bool unwatchItem(QQuickItem *item)
void unregisterItem(QQuickItem *item)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
The QShortcutEvent class provides an event which is generated when the user presses a key combination...
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLenum GLenum GLsizei const GLuint GLboolean enabled