summaryrefslogtreecommitdiffstats
path: root/kreadconfig
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:43 -0600
commitd41050ea3f6904e5156d35f664346b816b9e4d12 (patch)
tree7b3ff517432a631adc61a2a93080dc3bacfab604 /kreadconfig
parentc16d0f2191af1e4810391dbd1a06d7713fb38666 (diff)
downloadtdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.tar.gz
tdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kreadconfig')
-rw-r--r--kreadconfig/kreadconfig.cpp8
-rw-r--r--kreadconfig/kwriteconfig.cpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/kreadconfig/kreadconfig.cpp b/kreadconfig/kreadconfig.cpp
index d0889465..1748b654 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, "bero@redhat.com");
- 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 0d1d7fc9..b216a14d 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, "luis_pedro@netcabo.pt");
aboutData.addAuthor("Bernhard Rosenkraenzer", "Wrote kreadconfig on which this is based", "bero@redhat.com");
- 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 );