Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent c40f698e62
commit 7fd4ff679f

@ -53,7 +53,7 @@ class KbfxConfigApplication : public KUniqueApplication
virtual int newInstance() virtual int newInstance()
{ {
KCmdLineArgs* KbfxArgs = KCmdLineArgs::parsedArgs(); TDECmdLineArgs* KbfxArgs = TDECmdLineArgs::parsedArgs();
/* prepare kbfx theme cmdline option given */ /* prepare kbfx theme cmdline option given */
if ( KbfxArgs->isSet ( "prepare" ) ) if ( KbfxArgs->isSet ( "prepare" ) )
@ -142,9 +142,9 @@ int main ( int argc, char **argv )
"phobosk@mail.kbfx.org" ); "phobosk@mail.kbfx.org" );
about.addAuthor ( "PhobosK", 0, "phobosk@mail.kbfx.org" ); about.addAuthor ( "PhobosK", 0, "phobosk@mail.kbfx.org" );
KCmdLineArgs::init( argc, argv, &about ); TDECmdLineArgs::init( argc, argv, &about );
KUniqueApplication::addCmdLineOptions(); KUniqueApplication::addCmdLineOptions();
KCmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
if (!KUniqueApplication::start()) if (!KUniqueApplication::start())
return 1; return 1;

Loading…
Cancel
Save