39 Q_INVOKABLE
void update(
const QVariantMap &map);
48 QAction *m_action =
nullptr;
The class exposing Action API to QML.
void setProperties(const QVariantMap &map)
Q_INVOKABLE void update(const QVariantMap &map)
Updates the properties of the action.
QmlAction(QAction *action, QmlEngine *engine, QObject *parent=nullptr)
void triggered()
This signal is emitted when the action is triggered.