KDStateMachineEditor API Documentation
2.1
Loading...
Searching...
No Matches
src
view
command
layoutsnapshotcommand.cpp
Go to the documentation of this file.
1
/*
2
This file is part of the KDAB State Machine Editor Library.
3
4
SPDX-FileCopyrightText: 2014 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
5
Author: Kevin Funk <kevin.funk@kdab.com>
6
7
SPDX-License-Identifier: LGPL-2.1-only OR LicenseRef-KDAB-KDStateMachineEditor
8
9
Licensees holding valid commercial KDAB State Machine Editor Library
10
licenses may use this file in accordance with the KDAB State Machine Editor
11
Library License Agreement provided with the Software.
12
13
Contact info@kdab.com if any conditions of this licensing are not clear to you.
14
*/
15
16
#include "
layoutsnapshotcommand_p.h
"
17
18
#include "
statemachinescene.h
"
19
20
using namespace
KDSME
;
21
22
LayoutSnapshotCommand::LayoutSnapshotCommand
(
StateMachineScene
*scene, QUndoCommand *parent)
23
:
Command
(nullptr, parent)
24
, m_scene(scene)
25
{
26
}
27
28
LayoutSnapshotCommand::LayoutSnapshotCommand
(
StateMachineScene
*scene,
const
QString &text, QUndoCommand *parent)
29
:
Command
(text, parent)
30
, m_scene(scene)
31
{
32
}
33
34
void
LayoutSnapshotCommand::redo
()
35
{
36
// TODO: Implement me
37
}
38
39
void
LayoutSnapshotCommand::undo
()
40
{
41
// TODO: Implement me
42
}
KDSME::Command
Definition
command_p.h:27
KDSME::LayoutSnapshotCommand::redo
void redo() override
Definition
layoutsnapshotcommand.cpp:34
KDSME::LayoutSnapshotCommand::undo
void undo() override
Definition
layoutsnapshotcommand.cpp:39
KDSME::LayoutSnapshotCommand::LayoutSnapshotCommand
LayoutSnapshotCommand(StateMachineScene *scene, QUndoCommand *parent=nullptr)
Definition
layoutsnapshotcommand.cpp:22
KDSME::StateMachineScene
Definition
statemachinescene.h:35
layoutsnapshotcommand_p.h
KDSME
Definition
mainwindow.h:21
statemachinescene.h
© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDStateMachineEditor
Create Qt State Machine metacode using a graphical user interface
https://github.com/KDAB/KDStateMachineEditor
Generated on Tue Jul 15 2025 15:21:47 for KDStateMachineEditor API Documentation by doxygen 1.9.8