KCmdLineArgs4 Question

Benjamin Meyer ben at meyerhome.net
Tue Jan 3 00:13:27 GMT 2006


On Monday 02 January 2006 12:48 pm, David Faure wrote:
> On Monday 02 January 2006 12:11, Richard Lärkäng wrote:
> > On Monday 02 January 2006 11:28, David Faure wrote:
> > > Hmm. If we want to get rid of KApplication for kde4, then we'll need to
> > > simply pass all argc/argv from main to QApp, and then
> > > KCmdLineArgs::qt_arg[cv] can go away. I'm not sure why KCmdLineArgs
> > > took care of filtering out non-qt options, when Qt can do that by
> > > itself already.
> >
> > In the apidocs for qt_argv it says:
> >
> > "Returns command line options for consumption by Qt after parsing them in
> > a way that is consistent with KDE's general command line handling. In
> > particular this ensures that Qt command line options can be specified as
> > either -option or --option and that any options specified after '--' will
> > be ignored."
>
> Ah, thanks; should have looked that up.
>
> Well, so if we want to keep this, we need KApplication to stay indeed - for
> the normal case (KDE program with standard Qt/KDE command-line options).

I need to look into it more, but if possible I would still like to remove 
KApplication

-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/20060103/d03084a8/attachment.sig>


More information about the kde-core-devel mailing list