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

List:       kde-commits
Subject:    KDE/kdepim/kode/kxml_compiler
From:       Allen Winter <winter () kde ! org>
Date:       2006-03-03 16:53:27
Message-ID: 1141404807.182137.9966.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 515404 by winterz:

this is a command-line-only tool, so don't support qt or kde options.


 M  +4 -4      kxml_compiler.cpp  


--- trunk/KDE/kdepim/kode/kxml_compiler/kxml_compiler.cpp #515403:515404
@@ -63,10 +63,10 @@
   	I18N_NOOP("KDE XML Compiler") , KAboutData::License_LGPL );
   aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
 
-  KCmdLineArgs::init( argc, argv, &aboutData );
+  KCmdLineArgs::init( argc, argv, &aboutData, KCmdLineArgs::CmdLineArgNone );
   KCmdLineArgs::addCmdLineOptions( options );
 
-  KInstance app( &aboutData );
+  KApplication app( false );
 
   KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
 
@@ -113,7 +113,7 @@
   }
 
   p.dumpDefinitionMap();
-  
+
 //  return 0;
 
   p.substituteReferences( start );
@@ -164,7 +164,7 @@
   kDebug() << "Begin printing code" << endl;
 
   KODE::File &f = c.file();
-  
+
   f.setFilename( baseName );
 
   KODE::Printer printer;
[prev in list] [next in list] [prev in thread] [next in thread] 

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