#ifndef UNDOCOMMANDS_H #define UNDOCOMMANDS_H #include #include "dive.h" class UndoDeleteDive : public QUndoCommand { public: UndoDeleteDive(QList diveList); virtual void undo(); virtual void redo(); private: QList dives; }; #endif // UNDOCOMMANDS_H