Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 8f0e5b234d
commit 8472408c30

@ -41,8 +41,8 @@ int main(int argc, char **argv)
KAboutData about("kpicosim", I18N_NOOP("KPicoSim"), version, description,
KAboutData::License_GPL, "(C) %{YEAR} Mark Six", 0, 0, "m6@xs4all.nl");
about.addAuthor( "Mark Six", 0, "m6@xs4all.nl" );
KCmdLineArgs::init(argc, argv, &about);
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
KPicoSim *mainWin = 0;
@ -53,7 +53,7 @@ int main(int argc, char **argv)
else
{
// no session.. just start up normally
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
/// @todo do something with the command line args here

Loading…
Cancel
Save