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

List:       kde-commits
Subject:    kdepim/kaplan/src
From:       Daniel Molkentin <molkentin () kde ! org>
Date:       2003-01-16 15:36:02
[Download RAW message or body]

CVS commit by danimo: 

Opps, better make it a KUniquApp ;)


  M +3 -6      main.cpp   1.10


--- kdepim/kaplan/src/main.cpp  #1.9:1.10
@@ -19,5 +19,5 @@
 */
 
-#include <kapplication.h>
+#include <kuniqueapplication.h>
 #include <dcopclient.h>
 #include <kaboutdata.h>
@@ -46,5 +46,5 @@ int main(int argc, char **argv)
 {
     KAboutData about("kontact", I18N_NOOP("Kontact"), version, description,
-                     KAboutData::License_GPL, "(C) 2001-2002 The Kontact \
developers", 0, "http://kontact.kde.org", "kde-pim@kde.org"); +                     \
KAboutData::License_GPL, "(C) 2001-2003 The Kontact developers", 0, \
"http://kontact.kde.org", "kde-pim@kde.org");  about.addAuthor( "Matthias \
Hoelzer-Kluepfel", 0, "mhk@kde.org" );  about.addAuthor( "Daniel Molkentin", 0, \
"molkentin@kde.org" ); @@ -53,8 +53,5 @@ int main(int argc, char **argv)
     KCmdLineArgs::init(argc, argv, &about);
 //    KCmdLineArgs::addCmdLineOptions(options);
-    KApplication app;
-
-    // register ourselves as a dcop client
-    app.dcopClient()->registerAs(app.name(), false);
+    KUniqueApplication app;
 
     // show splash


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

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