KApplication::cut()....

George Staikos staikos at kde.org
Fri Sep 23 23:24:08 BST 2005


On Friday 23 September 2005 12:58, David Faure wrote:
> 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.

  KNetAttach has no mainwindow, for instance.  Maybe some tray applet...

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/




More information about the kde-core-devel mailing list