16#ifndef COMMAND_COMMANDFACTORY_P_H
17#define COMMAND_COMMANDFACTORY_P_H
19#include "kdsme_view_export.h"
27class CreateElementCommand;
28class DeleteElementCommand;
29class LayoutSnapshotCommand;
30class ModifyPropertyCommand;
31class ModifyElementCommand;
32class ModifyTransitionCommand;
33class ReparentElementCommand;
34class ChangeStateMachineCommand;
36class StateMachineScene;
void modelChanged(KDSME::StateModel *model)
Q_INVOKABLE KDSME::ReparentElementCommand * reparentElement(KDSME::StateMachineScene *view, KDSME::Element *element)
void setModel(KDSME::StateModel *model)
Q_INVOKABLE KDSME::ChangeStateMachineCommand * changeStateMachineElement(KDSME::StateMachineScene *view, KDSME::StateMachine *statemachine)
Q_INVOKABLE KDSME::ModifyElementCommand * modifyElement(KDSME::Element *item)
Q_INVOKABLE KDSME::LayoutSnapshotCommand * layoutSnapshot(KDSME::StateMachineScene *view, const QString &text=QString()) const
KDSME::StateModel * model
Q_INVOKABLE KDSME::DeleteElementCommand * deleteElement(KDSME::StateMachineScene *view, KDSME::Element *element) const
Q_INVOKABLE KDSME::CreateElementCommand * createElement(KDSME::StateModel *model, KDSME::Element::Type type, KDSME::Element *parentElement=nullptr) const
Q_INVOKABLE KDSME::ModifyPropertyCommand * modifyProperty(QObject *object, const char *property, const QVariant &value, const QString &text=QString())
Q_INVOKABLE KDSME::ModifyTransitionCommand * modifyTransition(KDSME::Transition *transition, KDSME::StateModel *model)
Changes the state machine of a KDSME::StateMachineScene and records the old state machine the scene w...
This is the inverse operation to the KDSME::CreateElementCommand command.
Creates a snapshot of the current layout of the state chart.
Command for modifying properties of KDSME::Element.
Modifies any specific property of a QObject.
Command for modifying properties of a KDSME::Transition.
Modifies the parent element of a KDSME::Element.