code cleanup

This commit is contained in:
itsmattkc
2018-07-20 19:06:57 +01:00
parent 4a6e261fe2
commit 8845ba0577
20 changed files with 296 additions and 125 deletions
+13
View File
@@ -2,6 +2,7 @@
#define UNDO_H
class QTreeWidgetItem;
class QCheckBox;
struct Clip;
struct Sequence;
@@ -79,4 +80,16 @@ private:
QVector< QVector<int> > old_links;
};
class CheckboxCommand : public QUndoCommand {
public:
CheckboxCommand(QCheckBox* b);
~CheckboxCommand();
void undo();
void redo();
private:
QCheckBox* box;
bool checked;
bool done;
};
#endif // UNDO_H