KApplication::cut()....
Benjamin Meyer
ben at meyerhome.net
Thu Sep 22 13:40:42 BST 2005
On Thursday 22 September 2005 7:45 am, Scott Wheeler wrote:
> On Thursday 22 September 2005 13:30, Benjamin Meyer wrote:
> > KApplication has a number of built in convenience editing slots. cut,
> > copy, paste, clear, and selectAll. Grepping through some of the kde
> > source I wasn't able to find any applications that actually were using
> > it. Does anyone know where it is used? Assuming it is used, then I
> > would like to suggest moving them to KMainWIndow, but if they aren't used
> > then I would say just getting rid of them.
>
> They're used both in JuK and KSig (granted, I wrote both of them plus those
> methods in KApplication).
>
> Really I'd like to see that style of usage used much more widely. It's a
> whole lot easier to implement application-wide cut (or copy, paste, etc.)
> with:
>
> KStdAction::cut(kapp, SLOT(cut()), actionCollection);
>
> Than to implement special-casing all over the application.
>
> -Scott
Yah they looked like good ideas and was a little surprised that I couldn't
find anything looking through several of the modules. What do you think of
moving them to KMainWindow?
-Benjamin Meyer
--
aka icefox
Public Key: http://www.icefox.net/public_key.asc
-------------- 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/20050922/72810e2a/attachment.sig>
More information about the kde-core-devel
mailing list