Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 93e1108f22
commit cba9c8b4d0

@ -48,8 +48,8 @@ int main(int argc, char **argv)
about.addAuthor( "Jean-Remy Falleri", 0, "jr.falleri@gmail.com" ); about.addAuthor( "Jean-Remy Falleri", 0, "jr.falleri@gmail.com" );
about.addAuthor( "Jonathan Riddell", 0, "jriddell@ubuntu.com" ); about.addAuthor( "Jonathan Riddell", 0, "jriddell@ubuntu.com" );
about.addAuthor( "Joe Ferris", I18N_NOOP("Original Author"), "jferris@optimistictech.com" ); about.addAuthor( "Joe Ferris", I18N_NOOP("Original Author"), "jferris@optimistictech.com" );
KCmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
KCmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
KApplication app; KApplication app;
if(kapp->dcopClient()->isApplicationRegistered("katapult")) { if(kapp->dcopClient()->isApplicationRegistered("katapult")) {
@ -60,7 +60,7 @@ int main(int argc, char **argv)
Katapult mainWin; Katapult mainWin;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
app.setMainWidget( &mainWin ); app.setMainWidget( &mainWin );

Loading…
Cancel
Save