Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 7677fad8a7
commit d088a3cec7

@ -34,8 +34,8 @@ int main( int argc, char *argv[] )
about.addCredit( "Stephanie James", I18N_NOOP("Testing") );
about.addCredit( "Marcus Camen", I18N_NOOP("Bravery in the face of unreadable code") );
KCmdLineArgs::init( argc, argv, &about );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &about );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
@ -43,7 +43,7 @@ int main( int argc, char *argv[] )
MainWindow *mw = new MainWindow();
app.setMainWidget( mw );
KCmdLineArgs* const args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs* const args = TDECmdLineArgs::parsedArgs();
if (args->count() > 0 ) mw->scan( args->url( 0 ));
args->clear();

Loading…
Cancel
Save