Adding KUndoGroup

Albert Astals Cid aacid at kde.org
Thu May 1 17:43:28 BST 2008


A Dijous 01 Maig 2008, Albert Astals Cid va escriure:
> Might i add KUndoGroup that inherits QUndoGroup and adds proper
> QAction *createRedoAction(KActionCollection* actionCollection, const
> QString& actionName)
> and
> QAction *createUndoAction(KActionCollection* actionCollection, const
> QString& actionName)
> like KUndoStack does?
>
> That is, set the KDE proper icon, icon text, shortcut and add it to the
> actioncollection.
>
> Albert

Well, i did some copy&paste, here is the patch i'm proposing.

Albert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kundogroup.patch
Type: text/x-diff
Size: 10411 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080501/3056cb3e/attachment.patch>


More information about the kde-core-devel mailing list