Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent fb14889c7d
commit 8cda419a41

@ -60,7 +60,7 @@ KioskRun::KioskRun( TQObject* parent, const char* name)
m_saveConfigCache.setAutoDelete(true);
m_immutableStatusCache.setAutoDelete(true);
m_homeDir = TQDir::homeDirPath()+"/.trinity-test";
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
m_kderc = TQFile::decodeName(args->getOption("kderc"));
m_isRoot = (getuid() == 0);
}

@ -123,9 +123,9 @@ int main(int argc, char **argv)
{
KLocale::setMainCatalogue("kiosktool");
KAboutData about("kiosktool-tdedirs", "kiosktool-tdedirs", "1.0", description, KAboutData::License_GPL, "(C) 2004 Waldo Bastian");
KCmdLineArgs::init( argc, argv, &about);
KCmdLineArgs::addCmdLineOptions(options);
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs::init( argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions(options);
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
KInstance a("kiosktool-tdedirs");

@ -51,9 +51,9 @@ int main(int argc, char *argv[])
"(c) 2003,2004 Waldo Bastian");
aboutData.addAuthor("Waldo Bastian",I18N_NOOP("Author"), "bastian@kde.org");
KCmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication a;

Loading…
Cancel
Save