Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 4fa01d863b
commit 227d1ebc07

@ -51,10 +51,10 @@ int main(int argc, char **argv)
KAboutData::License_GPL, "(C) 2004-2005, The KTechlab developers", 0, "http://ktechlab.org", "ktechlab-devel@lists.sourceforge.net" );
about.addAuthor( "Daniel Clarke", 0, "daniel.jc@gmail.com" );
about.addAuthor( "David Saxton", 0, "david@bluehaze.org" );
KCmdLineArgs::init(argc, argv, &about);
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options );
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if(args->count() == 2 )
{

@ -39,8 +39,8 @@ int main(int argc, char **argv)
about.addCredit( "John Myers", "Rotary Switch" );
about.addCredit( "Ali Akcaagac", "Glib friendliness." );
about.addCredit( "David Leggett", "Website hosting and feedback during early development." );
KCmdLineArgs::init(argc, argv, &about);
KCmdLineArgs::addCmdLineOptions(options);
TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions(options);
KApplication app;
// register ourselves as a dcop client
@ -48,7 +48,7 @@ int main(int argc, char **argv)
KTechlab *ktechlab = new KTechlab();
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
for ( int i=0; i < args->count(); ++i )
ktechlab->load( args->url(i) );

Loading…
Cancel
Save