[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KApplication::cut()....
From:       David Faure <faure () kde ! org>
Date:       2005-09-23 14:28:18
Message-ID: 200509231628.18424.faure () kde ! org
[Download RAW message or body]

On Friday 23 September 2005 15:22, Joseph Wenninger wrote:
> Why do I have to retrieve the action object, if I just want to cut or copy 
> from the currently focused widget ?

Because cut or copy is a user action in the first place, not something the program
does on its own at 12:00 every saturday. So it makes sense to simply have a
KAction for this, much like we have kdeui-provided kaction instances for
statusbar, menubar, toolbar, all std actions, etc.
Maybe the slots themselves could be in a StandardSlots singleton, which would
be mostly private api?

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic