|
|
|
@ -1005,8 +1005,8 @@ return a.exec();
|
|
|
|
|
3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description,
|
|
|
|
|
4 KAboutData::License_GPL, "(C) 2002 O Seu Nome", 0, 0, "voce@o-proprio.com");
|
|
|
|
|
5 about.addAuthor( "O Seu Nome", 0, "voce@o-proprio.com" );
|
|
|
|
|
6 KCmdLineArgs::init(argc, argv, &about);
|
|
|
|
|
7 KCmdLineArgs::addCmdLineOptions(options);
|
|
|
|
|
6 TDECmdLineArgs::init(argc, argv, &about);
|
|
|
|
|
7 TDECmdLineArgs::addCmdLineOptions(options);
|
|
|
|
|
8 TDEApplication app;
|
|
|
|
|
9
|
|
|
|
|
10 // registar-nos como um cliente dcop
|
|
|
|
@ -1018,7 +1018,7 @@ return a.exec();
|
|
|
|
|
16 else
|
|
|
|
|
17 {
|
|
|
|
|
18 // sem sessão... começar normalmente
|
|
|
|
|
19 KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
|
|
|
|
19 TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
|
|
|
|
|
20 if (args->count() == 0)
|
|
|
|
|
21 {
|
|
|
|
|
22 KScribble *widget = new KScribble;
|
|
|
|
|