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

List:       kde-core-devel
Subject:    Re: creating KAboutData
From:       Waldo Bastian <bastian () suse ! de>
Date:       2000-01-08 21:30:56
[Download RAW message or body]

On Sat, 08 Jan 2000, David Faure wrote:
> > > (what if kcmdlineargs isn't used?)
> >
> > Then your program will abort :-)
>
> Does this mean that the constructor with 5 args will disappear,
> or at least be deprecated ?
> If so, I don't need to care about it, right ?

Right.

> (I'd have to add KAboutData as least arg, which would be ugly)
>
> >    KAboutData about( "testapp" /*adding that to the API*/,
> >                      I18N_NOOP("MyTestApp"),
> >                      I18N_NOOP("A program to test stuff out"),
> >                      "1.186",
> >                      KAboutData::GPL );
> >    KCmdLineArgs::init( argc, argv, about );
> >    KApplication k( true, true, about );
>
> The true and true here are default values that are seldom changed.
> What about
>
> KApplication k( about )
> and
> KApplication k( about, false[, false] );
> for non-GUI apps ?

Yes. That would be better.

Cheers,
Waldo

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

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