From d41050ea3f6904e5156d35f664346b816b9e4d12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:43 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- kreadconfig/kreadconfig.cpp | 8 ++++---- kreadconfig/kwriteconfig.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kreadconfig') 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, "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 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, "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 ); -- cgit v1.2.1