Minimal kdelibs on embedded platforms

Alexis Ménard menard at kde.org
Mon Nov 30 22:55:21 GMT 2009


On Fri, Nov 20, 2009 at 12:03 PM, Albert Astals Cid <aacid at kde.org> wrote:

> --- El vie, 20/11/09, Boudewijn Rempt escribió:
>
> > De: Boudewijn Rempt
> > Asunto: Re: Minimal kdelibs on embedded platforms
> > Fecha: viernes, 20 de noviembre, 2009 11:21
> > On Fri, 20 Nov 2009, Pau Garcia i
> > Quiles wrote:
> >
> > > On Fri, Nov 20, 2009 at 11:00 AM, Boudewijn Rempt
> > wrote:
> > >
> > > >> Also you should never make a KFileDialog that
> > just wraps QFileDialog.  If
> > > >>  you are a KDE application and just just
> > want a file dialog you can use the
> > > >>  QFileDialog static functions and
> > QFileDialog will call out to the KDE file
> > > >>  dialog through hooks that are built into
> > kio.  So if you are looking to
> > > >>  make a minimal kde app this is one less api
> > you have to worry about.
> > > >
> > > > Are there other K classes that get automatically
> > used if you use a Q class in
> > > > your app instead? It would be nice to have a list
> > on techbase, and maybe a
> > > > krazy check.
> > >
> > > I agree with having a list but I'd rather have that
> > information in the
> > > Qt docs: "If used under KDE, this class/method calls
> > > KFileDialog/whatever. If used under Gnome, this class
> > calls...", etc
> > > Not everybody developing with Qt under
> > KDE/Gnome/whatever reads
> > > Techbase, but they sure read the Qt docs.
> > >
> >
> > I'd need a list to go through Krita and do a s/K/Q/g where
> > approprioate.
>
> Why would you want that? Are you planning to convert Krita in a Qt only
> application? Otherwise using QFileDialog instead of KFileDialog just gives
> you more slowlyness and no benefit.
>

Please read the mail of Benjamin completely and correctly before you hit
send, using the static functions of QFileDialog will show the KDE
KFileDialog. You don't loose anything, it's just less KDE code to have if
they choose to make it a pure Qt app.

>
> Albert
>
> >
> > Boudewijn
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20091130/6b9b0004/attachment.htm>


More information about the kde-core-devel mailing list