diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:27 -0600 |
commit | 8cda419a4110210e8a8634230895af1aa165a7c4 (patch) | |
tree | f7cd4c41477d48c0ce9a894c566c60d71a7bbaea | |
parent | fb14889c7d3ad68d231caf5a01b1674e761e36ef (diff) | |
download | kiosktool-8cda419a4110210e8a8634230895af1aa165a7c4.tar.gz kiosktool-8cda419a4110210e8a8634230895af1aa165a7c4.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
-rw-r--r-- | kiosktool/kioskrun.cpp | 2 | ||||
-rw-r--r-- | kiosktool/kiosktool-tdedirs.cpp | 6 | ||||
-rw-r--r-- | kiosktool/main.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kiosktool/kioskrun.cpp b/kiosktool/kioskrun.cpp index 064f93d..bfc46e0 100644 --- a/kiosktool/kioskrun.cpp +++ b/kiosktool/kioskrun.cpp @@ -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); } diff --git a/kiosktool/kiosktool-tdedirs.cpp b/kiosktool/kiosktool-tdedirs.cpp index 43d4fed..79baeec 100644 --- a/kiosktool/kiosktool-tdedirs.cpp +++ b/kiosktool/kiosktool-tdedirs.cpp @@ -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"); diff --git a/kiosktool/main.cpp b/kiosktool/main.cpp index c86bb6a..7dafa98 100644 --- a/kiosktool/main.cpp +++ b/kiosktool/main.cpp @@ -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; |