summaryrefslogtreecommitdiffstats
path: root/drkonqi
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-22 20:15:55 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-22 20:15:55 -0600
commit1d061b286a8b183b39be60fe531f2b1c2915f03a (patch)
tree0a4c6ee79918e366077094fb59e9c1196d7f4156 /drkonqi
parent1e0a98b8623428064963b1627e4e09ea02c1e87e (diff)
downloadtdebase-1d061b286a8b183b39be60fe531f2b1c2915f03a.tar.gz
tdebase-1d061b286a8b183b39be60fe531f2b1c2915f03a.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'drkonqi')
-rw-r--r--drkonqi/crashtest.cpp4
-rw-r--r--drkonqi/drbugreport.cpp2
-rw-r--r--drkonqi/drbugreport.h4
-rw-r--r--drkonqi/krashconf.cpp2
-rw-r--r--drkonqi/krashconf.h4
-rw-r--r--drkonqi/main.cpp4
-rw-r--r--drkonqi/toplevel.h2
7 files changed, 11 insertions, 11 deletions
diff --git a/drkonqi/crashtest.cpp b/drkonqi/crashtest.cpp
index a0aae0347..57f055420 100644
--- a/drkonqi/crashtest.cpp
+++ b/drkonqi/crashtest.cpp
@@ -68,10 +68,10 @@ void level1(int t)
int main(int argc, char *argv[])
{
- KAboutData aboutData("crashtext", "Crash Test for DrKonqi",
+ TDEAboutData aboutData("crashtext", "Crash Test for DrKonqi",
"1.1",
"Crash Test for DrKonqi",
- KAboutData::License_GPL,
+ TDEAboutData::License_GPL,
"(c) 2000-2002 David Faure, Waldo Bastian");
TDECmdLineArgs::init(argc, argv, &aboutData);
diff --git a/drkonqi/drbugreport.cpp b/drkonqi/drbugreport.cpp
index 3ec731b01..924f83e28 100644
--- a/drkonqi/drbugreport.cpp
+++ b/drkonqi/drbugreport.cpp
@@ -35,7 +35,7 @@
#include "drbugreport.h"
DrKBugReport::DrKBugReport(TQWidget *parent, bool modal,
- const KAboutData *aboutData)
+ const TDEAboutData *aboutData)
: KBugReport(parent, modal, aboutData)
{
}
diff --git a/drkonqi/drbugreport.h b/drkonqi/drbugreport.h
index d1e98e028..a76740416 100644
--- a/drkonqi/drbugreport.h
+++ b/drkonqi/drbugreport.h
@@ -28,7 +28,7 @@
#ifndef DRBUGREPORT_H
#define DRBUGREPORT_H
-class KAboutData;
+class TDEAboutData;
#include <kbugreport.h>
@@ -41,7 +41,7 @@ public:
* Constructor.
*/
DrKBugReport(TQWidget *parent = 0, bool modal = true,
- const KAboutData *aboutData = 0);
+ const TDEAboutData *aboutData = 0);
public:
/**
diff --git a/drkonqi/krashconf.cpp b/drkonqi/krashconf.cpp
index 1e22bbbd9..38e8c84cc 100644
--- a/drkonqi/krashconf.cpp
+++ b/drkonqi/krashconf.cpp
@@ -74,7 +74,7 @@ void KrashConfig :: readConfig()
programname.setStr(I18N_NOOP("unknown"));
// leak some memory... Well. It's only done once anyway :-)
const char * progname = tqstrdup(programname);
- m_aboutData = new KAboutData(args->getOption("appname"),
+ m_aboutData = new TDEAboutData(args->getOption("appname"),
progname,
args->getOption("appversion"),
0, 0, 0, 0, 0,
diff --git a/drkonqi/krashconf.h b/drkonqi/krashconf.h
index 236083f76..f20c395f0 100644
--- a/drkonqi/krashconf.h
+++ b/drkonqi/krashconf.h
@@ -70,7 +70,7 @@ public:
bool showDebugger() const { return m_showdebugger && !m_debugger.isNull(); };
bool showBugReport() const { return m_showbugreport; };
bool disableChecks() const { return m_disablechecks; };
- const KAboutData *aboutData() const { return m_aboutData; }
+ const TDEAboutData *aboutData() const { return m_aboutData; }
TQString execName() const { return m_execname; }
void expandString(TQString &str, bool shell, const TQString &tempFile = TQString::null) const;
@@ -84,7 +84,7 @@ private:
void readConfig();
private:
- KAboutData *m_aboutData;
+ TDEAboutData *m_aboutData;
int m_pid;
int m_signalnum;
bool m_showdebugger;
diff --git a/drkonqi/main.cpp b/drkonqi/main.cpp
index 8e40ea8bb..e65c63632 100644
--- a/drkonqi/main.cpp
+++ b/drkonqi/main.cpp
@@ -68,11 +68,11 @@ int main( int argc, char* argv[] )
setenv("TDE_DEBUG", "true", 1);
unsetenv("SESSION_MANAGER");
- KAboutData aboutData( "drkonqi",
+ TDEAboutData aboutData( "drkonqi",
I18N_NOOP("The TDE Crash Handler"),
version,
description,
- KAboutData::License_BSD,
+ TDEAboutData::License_BSD,
"(C) 2012, The Trinity Desktop Project");
aboutData.addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net");
aboutData.addAuthor("Hans Petter Bieker", 0, "bieker@kde.org");
diff --git a/drkonqi/toplevel.h b/drkonqi/toplevel.h
index e6854bab5..e6d1b84cb 100644
--- a/drkonqi/toplevel.h
+++ b/drkonqi/toplevel.h
@@ -30,7 +30,7 @@
#ifndef TOPLEVEL_H
#define TOPLEVEL_H
-class KAboutData;
+class TDEAboutData;
class KrashConfig;
class DrKBugReport;