Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

remotes/gitea/gg-tdeadmin-kcron
Timothy Pearson 12 years ago
parent 98e5087a3a
commit f7e4bdd856

@ -28,7 +28,7 @@ int main(int argc, char* argv[])
aboutData.addAuthor("James Ots", 0, "code@jamesots.com");
aboutData.addAuthor("Alberto G. Hierro", 0, "alberto.hierro@kdemail.net");
KCmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::init(argc, argv, &aboutData);
KApplication app;

@ -72,9 +72,9 @@ int main( int argc, char** argv )
#endif /* DEBUG */
/* 2002-01-28 LEW */
KCmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::init( argc, argv, &aboutData );
aboutData.addAuthor( "Lawrence Widman", 0, "kdat@cardiothink.com");
// KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
// TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app;
app.setMainWidget( KDatMainWindow::getInstance() );

@ -84,9 +84,9 @@ int main(int argc, char **argv)
VERSION, description, KAboutData::License_GPL,
// VERSION, description, 0,
"(c) 1999-2001, Toivo Pedaste");
KCmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::init( argc, argv, &aboutData );
aboutData.addAuthor( "Toivo Pedaste",0, "toivo@ucs.uwa.edu.au");
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app;
kpkg = 0;
@ -97,7 +97,7 @@ int main(int argc, char **argv)
path = "PATH=" + path + ":/sbin:/usr/sbin:/usr/local/bin";
putenv(strdup(path.data()));
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
TQString remoteHost = args->getOption("remote");
if (remoteHost.isEmpty() || remoteHost == "localhost") {

@ -65,7 +65,7 @@ int main( int argc, char **argv ) {
about.addAuthor ("Peter Putzer", I18N_NOOP("Main developer"), "putzer@kde.org");
ksv::about = &about;
KCmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::init(argc, argv, &about);
KUniqueApplication::addCmdLineOptions ();
if (!KUniqueApplication::start()) {

@ -47,7 +47,7 @@ int main(int argc, char **argv)
"dyp@perchine.com", "http://www.perchine.com/dyp/");
aboutData.addAuthor("Szombathelyi György", I18N_NOOP("kuser author"),
"gyurco@freemail.hu");
KCmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::init(argc, argv, &aboutData);
mainWidget *mw = 0;
KApplication a;

@ -37,7 +37,7 @@ static const char version[] = "v0.0.1";
int main(int argc, char **argv)
{
KCmdLineArgs::init(argc, argv, "secpolicy", description, version);
TDECmdLineArgs::init(argc, argv, "secpolicy", description, version);
if (!KUniqueApplication::start())
exit(0);

Loading…
Cancel
Save