KApplication::cut()....
Benjamin Meyer
ben at meyerhome.net
Fri Sep 23 15:50:41 BST 2005
On Friday 23 September 2005 9:22 am, Joseph Wenninger wrote:
> Hi !
>
> 1) Why do I have to retrieve the action object, if I just want to cut or
> copy from the currently focused widget ? The focus widget doesn't have to
> be the mainwindow, but could be a child widget, right ? Ok, the advantage
> would be that you don't have to call the slots cut/copy/paste, ...
yah having functions named cut() was a bad idea and a bad polution of the name
space, I have moved it into the private class
> 2) If there are methods like createAutomaticCutActions, they should check
> if the action collection already has a cut action and only create a new one
> , if it doesn't , otherwise return the already existing
If we want that funcionality KStdAction::create should really do that, not
createAutomaticCutActions.
Ok attached is a new diff. Let me know what you think.
-Benjamin Meyer
--
aka icefox
Public Key: http://www.icefox.net/public_key.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: text/x-diff
Size: 14621 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050923/5bccd5c8/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050923/5bccd5c8/attachment.sig>
More information about the kde-core-devel
mailing list