diff options
author | Nao Pross <naopross@thearcway.org> | 2018-01-01 18:44:35 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-01-01 18:44:35 +0100 |
commit | 7ea534dd1c8bf72200a999cae554d842d9035ba9 (patch) | |
tree | 6b2438ea6f7c27c8069458d599bfbf2ba5534ce7 /include/diagram/iteratorstatement.h | |
parent | Implement basic ui (diff) | |
download | OrbitingYeti-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 'include/diagram/iteratorstatement.h')
-rw-r--r-- | include/diagram/iteratorstatement.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/diagram/iteratorstatement.h b/include/diagram/iteratorstatement.h deleted file mode 100644 index e7fbba0..0000000 --- a/include/diagram/iteratorstatement.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef DIAGRAM_ITERATORSTATEMENT_H -#define DIAGRAM_ITERATORSTATEMENT_H - -#include "diagram/statement.h" -#include "diagram/scope.h" - -#include <QString> - -namespace samb { - -/* Implementation for Statement::WHILE Statement::UNTIL - */ -class IteratorStatement : public Statement -{ -public: - IteratorStatement(Type t, const QString &condition, pointer next); - - /* accessors */ - Scope& inner() { return _inner; } - - inline const QString& condition() const { return text(); } - inline void condition(const QString &condition) { return text(condition); } - -private: - Scope _inner; -}; - -} /* namespace samb */ - -#endif /* DIAGRAM_ITERATORSTATEMENT_H */ |