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

List:       kde-commits
Subject:    kdeutils/kregexpeditor
From:       Stephan Kulow <coolo () kde ! org>
Date:       2003-09-09 7:13:26
[Download RAW message or body]

CVS commit by coolo: 

making up some facts to make the --help output a bit nicer
CCMAIL: blackie@kde.org


  M +7 -2      main.cpp   1.6


--- kdeutils/kregexpeditor/main.cpp  #1.5:1.6
@@ -21,4 +21,5 @@
   #include <qapplication.h>
 #else
+  #include <kaboutdata.h>
   #include <kapplication.h>
   #include <kcmdlineargs.h>
@@ -39,6 +40,10 @@ int main( int argc, char* argv[] )
     QApplication myapp( argc, argv );
 #else
-    KCmdLineArgs::init(argc, argv, "RegExp Example","","");
-    KApplication myapp( argc, argv );
+    KAboutData aboutData( "kregexpeditor", I18N_NOOP("RegExp Editor"),
+                          "1.0", I18N_NOOP("Editor for Regular Expressions"), 
+                          KAboutData::License_GPL,
+                          "(c) 2002-2003 Jesper K. Pedersen");
+    KCmdLineArgs::init(argc, argv, &aboutData);
+    KApplication myapp;
 #endif
 


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

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