Adding KUndoGroup

Albert Astals Cid aacid at kde.org
Mon May 19 20:55:18 BST 2008


A Dilluns 19 Maig 2008, Allen Winter va escriure:
> On Thursday 01 May 2008 12:10:07 Albert Astals Cid wrote:
> > 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
>
> Was this ever added?

It's not really needed, see David's answer. What we should really do is 
deprecate KUndoStack as one should use QUndoStack + KStdAction.

Albert




More information about the kde-core-devel mailing list