Request For Comments - Undo/Redo framework

Grace Karanja gracie.karanja89 at gmail.com
Wed Feb 11 00:05:02 PST 2015


On Tue, Feb 10, 2015 at 7:32 PM, Tomaz Canabrava <tcanabrava at kde.org> wrote:
>
> I never used Undo / Redo framework before, but why didn't you used the
> QUndoGroup / QUndoCommand / QUndoStack classes and created your own?
>

Now the attached patches use QUndoStack and QUndoCommand.


>
>
> Tomaz
>
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150211/713bda2c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Reverse-undo-buffer.patch
Type: text/x-patch
Size: 8021 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150211/713bda2c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-undo-stack.patch
Type: text/x-patch
Size: 1967 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150211/713bda2c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-a-structure-to-hold-undo-commands.patch
Type: text/x-patch
Size: 2103 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150211/713bda2c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Add-option-to-undo-deleted-dives.patch
Type: text/x-patch
Size: 2842 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150211/713bda2c/attachment-0003.bin>


More information about the subsurface mailing list