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 --- drkonqi/crashtest.cpp | 8 ++++---- drkonqi/krashconf.cpp | 2 +- drkonqi/main.cpp | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'drkonqi') diff --git a/drkonqi/crashtest.cpp b/drkonqi/crashtest.cpp index a00fae6b0..c83014415 100644 --- a/drkonqi/crashtest.cpp +++ b/drkonqi/crashtest.cpp @@ -16,7 +16,7 @@ enum CrashType { Crash, Malloc, Div0, Assert }; void do_crash() { - KCmdLineArgs *args = 0; + TDECmdLineArgs *args = 0; TQCString type = args->arg(0); printf("result = %s\n", type.data()); } @@ -74,11 +74,11 @@ int main(int argc, char *argv[]) KAboutData::License_GPL, "(c) 2000-2002 David Faure, Waldo Bastian"); - KCmdLineArgs::init(argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions(options); KApplication app(false, false); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TQCString type = args->count() ? args->arg(0) : ""; int crashtype = Crash; if (type == "malloc") diff --git a/drkonqi/krashconf.cpp b/drkonqi/krashconf.cpp index 7dc8b6f26..1e22bbbd9 100644 --- a/drkonqi/krashconf.cpp +++ b/drkonqi/krashconf.cpp @@ -60,7 +60,7 @@ void KrashConfig :: acceptDebuggingApp() void KrashConfig :: readConfig() { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); m_signalnum = args->getOption( "signal" ).toInt(); m_pid = args->getOption( "pid" ).toInt(); m_startedByKdeinit = args->isSet("tdeinit"); diff --git a/drkonqi/main.cpp b/drkonqi/main.cpp index b6fb5c982..5de09ed8b 100644 --- a/drkonqi/main.cpp +++ b/drkonqi/main.cpp @@ -77,8 +77,8 @@ int main( int argc, char* argv[] ) aboutData.addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net"); aboutData.addAuthor("Hans Petter Bieker", 0, "bieker@kde.org"); - KCmdLineArgs::init(argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions( options ); KApplication::disableAutoDcopRegistration(); -- cgit v1.2.1