Reverse undo buffer

Reverse all the code using the UndoBuffer class so that we can
use the QUndoStack and QUndoCommand classes. These are Qt's own
inbuild undo framework classes, offering a better undo/redo
process.

Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Grace Karanja 2015-02-11 09:10:34 +03:00 committed by Dirk Hohndel
parent 6374d9cc03
commit 013da6b0af
7 changed files with 3 additions and 152 deletions

View file

@ -104,8 +104,7 @@ HEADERS = \
qt-ui/statistics/statisticsbar.h \
qt-ui/statistics/yearstatistics.h \
qt-ui/diveshareexportdialog.h \
qt-ui/filtermodels.h \
qt-ui/undobuffer.h
qt-ui/filtermodels.h
android: HEADERS -= \
qt-ui/usermanual.h \
@ -199,8 +198,7 @@ SOURCES = \
qt-ui/statistics/statisticsbar.cpp \
qt-ui/statistics/monthstatistics.cpp \
qt-ui/diveshareexportdialog.cpp \
qt-ui/filtermodels.cpp \
qt-ui/undobuffer.cpp
qt-ui/filtermodels.cpp
android: SOURCES += android.cpp
else: win32: SOURCES += windows.c