|
|
@ -859,8 +859,8 @@ by selecting the "Global Functions" folder.
|
|
|
|
3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description,
|
|
|
|
3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description,
|
|
|
|
4 KAboutData::License_GPL, "(C) 2002 Your Name", 0, 0, "you@you.com");
|
|
|
|
4 KAboutData::License_GPL, "(C) 2002 Your Name", 0, 0, "you@you.com");
|
|
|
|
5 about.addAuthor( "Your Name", 0, "you@you.com" );
|
|
|
|
5 about.addAuthor( "Your Name", 0, "you@you.com" );
|
|
|
|
6 KCmdLineArgs::init(argc, argv, &about);
|
|
|
|
6 TDECmdLineArgs::init(argc, argv, &about);
|
|
|
|
7 KCmdLineArgs::addCmdLineOptions(options);
|
|
|
|
7 TDECmdLineArgs::addCmdLineOptions(options);
|
|
|
|
8 TDEApplication app;
|
|
|
|
8 TDEApplication app;
|
|
|
|
9
|
|
|
|
9
|
|
|
|
10 // register ourselves as a dcop client
|
|
|
|
10 // register ourselves as a dcop client
|
|
|
@ -872,7 +872,7 @@ by selecting the "Global Functions" folder.
|
|
|
|
16 else
|
|
|
|
16 else
|
|
|
|
17 {
|
|
|
|
17 {
|
|
|
|
18 // no session.. just start up normally
|
|
|
|
18 // no session.. just start up normally
|
|
|
|
19 KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
|
|
|
19 TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
|
|
|
|
20 if (args->count() == 0)
|
|
|
|
20 if (args->count() == 0)
|
|
|
|
21 {
|
|
|
|
21 {
|
|
|
|
22 KScribble *widget = new KScribble;
|
|
|
|
22 KScribble *widget = new KScribble;
|
|
|
|