aboutsummaryrefslogtreecommitdiffstats
path: root/src/diagram/iteratorstatement.cpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-01-01 18:44:35 +0100
committerNao Pross <naopross@thearcway.org>2018-01-01 18:44:35 +0100
commit7ea534dd1c8bf72200a999cae554d842d9035ba9 (patch)
tree6b2438ea6f7c27c8069458d599bfbf2ba5534ce7 /src/diagram/iteratorstatement.cpp
parentImplement basic ui (diff)
downloadOrbitingYeti-7ea534dd1c8bf72200a999cae554d842d9035ba9.tar.gz
OrbitingYeti-7ea534dd1c8bf72200a999cae554d842d9035ba9.zip
New StatementDialog, rename diagram classes
Other changes: - Use raw pointer instead of smart pointers to manage resources - Initial Painter implementation
Diffstat (limited to 'src/diagram/iteratorstatement.cpp')
-rw-r--r--src/diagram/iteratorstatement.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/diagram/iteratorstatement.cpp b/src/diagram/iteratorstatement.cpp
deleted file mode 100644
index a68234b..0000000
--- a/src/diagram/iteratorstatement.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "diagram/iteratorstatement.h"
-
-using namespace samb;
-
-IteratorStatement::IteratorStatement(Statement::Type t, const QString &condition, Statement::pointer next) :
- Statement(t, condition, next),
- _inner("")
-{
-
- switch (t) {
- case Statement::Type::WHILE:
- case Statement::Type::UNTIL:
- break;
-
- default:
- throw std::invalid_argument("IteratorStatement can only be of type WHILE or UNTIL");
- }
-}