Go to the documentation of this file.
25struct CommandController::Private
29 QUndoStack *m_undoStack;
32CommandController::Private::Private()
33 : m_undoStack(nullptr)
42 Q_ASSERT(d->m_undoStack);
44 qRegisterMetaType<Command *>();
53 return d->m_undoStack;
59 QQmlEngine::setObjectOwnership(command, QQmlEngine::CppOwnership);
60 d->m_undoStack->push(command);
65 d->m_undoStack->clear();
68#include "moc_commandcontroller.cpp"
AbstractController(StateMachineView *view)
Q_INVOKABLE void push(KDSME::Command *command)
CommandController(QUndoStack *undoStack, StateMachineView *parent)
Widget for displaying a KDSME::StateMachine in a Qt Quick based view.