KApplication::cut()....

David Faure faure at kde.org
Fri Sep 23 17:58:33 BST 2005


On Friday 23 September 2005 18:27, George Staikos wrote:
> On Friday 23 September 2005 12:15, Aaron J. Seigo wrote:
> > On Friday 23 September 2005 09:32, Benjamin Meyer wrote:
> > > Very cool.  Attached is the modified version
> >
> > and for apps that don't have a kmainwindow? besides, this is really just
> > tacking these methods on to some class because it "kinda sorta maybe fits".
> > in other words, exactly what was done with kapplication. this is not good
> > design IMHO.
> >
> > david's suggestion of a KStandardSlots class in Frameworks makes a hell of
> > a lot more sense. it has the added bonus of probably making the people
> > currently using these methods a lot happier, and they count more than
> > anyone else when it comes to this API, no?
> 
>   You can make that a Canadian^2 opinion.

Well actually Benjamin is right - when would you have copy/cut/paste actions other than a mainwindow?

OK there's the special case of the toolbar in kfiledialog, but that's really special,
and it doesn't need those slots anyway. 

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





More information about the kde-core-devel mailing list