diff options
author | Timothy Pearson <[email protected]> | 2013-01-19 18:46:43 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-19 18:46:43 -0600 |
commit | d41050ea3f6904e5156d35f664346b816b9e4d12 (patch) | |
tree | 7b3ff517432a631adc61a2a93080dc3bacfab604 /kreadconfig | |
parent | c16d0f2191af1e4810391dbd1a06d7713fb38666 (diff) | |
download | tdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.tar.gz tdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kreadconfig')
-rw-r--r-- | kreadconfig/kreadconfig.cpp | 8 | ||||
-rw-r--r-- | kreadconfig/kwriteconfig.cpp | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/kreadconfig/kreadconfig.cpp b/kreadconfig/kreadconfig.cpp index d08894658..1748b6549 100644 --- a/kreadconfig/kreadconfig.cpp +++ b/kreadconfig/kreadconfig.cpp @@ -49,9 +49,9 @@ int main(int argc, char **argv) KAboutData::License_GPL, "(c) 2001 Red Hat, Inc."); aboutData.addAuthor("Bernhard Rosenkraenzer", 0, "[email protected]"); - KCmdLineArgs::init(argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions(options); - KCmdLineArgs *args=KCmdLineArgs::parsedArgs(); + TDECmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs *args=TDECmdLineArgs::parsedArgs(); TQString group=TQString::fromLocal8Bit(args->getOption("group")); TQString key=TQString::fromLocal8Bit(args->getOption("key")); @@ -60,7 +60,7 @@ int main(int argc, char **argv) TQCString type=args->getOption("type").lower(); if (key.isNull()) { - KCmdLineArgs::usage(); + TDECmdLineArgs::usage(); return 1; } diff --git a/kreadconfig/kwriteconfig.cpp b/kreadconfig/kwriteconfig.cpp index 0d1d7fc92..b216a14df 100644 --- a/kreadconfig/kwriteconfig.cpp +++ b/kreadconfig/kwriteconfig.cpp @@ -32,9 +32,9 @@ int main(int argc, char **argv) "(c) 2001 Red Hat, Inc. & Lu�s Pedro Coelho"); aboutData.addAuthor("Lu�s Pedro Coelho", 0, "[email protected]"); aboutData.addAuthor("Bernhard Rosenkraenzer", "Wrote kreadconfig on which this is based", "[email protected]"); - KCmdLineArgs::init(argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions(options); - KCmdLineArgs *args=KCmdLineArgs::parsedArgs(); + TDECmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs *args=TDECmdLineArgs::parsedArgs(); TQString group=TQString::fromLocal8Bit(args->getOption("group")); TQString key=TQString::fromLocal8Bit(args->getOption("key")); @@ -43,7 +43,7 @@ int main(int argc, char **argv) if (key.isNull() || !args->count()) { - KCmdLineArgs::usage(); + TDECmdLineArgs::usage(); return 1; } TQCString value = args->arg( 0 ); |