summaryrefslogtreecommitdiff
path: root/src/gui/undocommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/undocommands.h')
-rw-r--r--src/gui/undocommands.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/undocommands.h b/src/gui/undocommands.h
index ff51c90..42fed30 100644
--- a/src/gui/undocommands.h
+++ b/src/gui/undocommands.h
@@ -78,6 +78,17 @@ private:
int _newOutAngle;
};
+class ReverseEdgesCommand : public GraphUpdateCommand
+{
+public:
+ explicit ReverseEdgesCommand(TikzScene *scene, QSet<Edge*> edgeSet,
+ QUndoCommand *parent = nullptr);
+ void undo() override;
+ void redo() override;
+private:
+ QSet<Edge*> _edgeSet;
+};
+
class DeleteCommand : public GraphUpdateCommand
{
public: