summaryrefslogtreecommitdiffstats
path: root/drkonqi
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 /drkonqi
parentc16d0f2191af1e4810391dbd1a06d7713fb38666 (diff)
downloadtdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.tar.gz
tdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'drkonqi')
-rw-r--r--drkonqi/crashtest.cpp8
-rw-r--r--drkonqi/krashconf.cpp2
-rw-r--r--drkonqi/main.cpp4
3 files changed, 7 insertions, 7 deletions
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();