summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-19 23:53:39 -0600
committerTimothy Pearson <[email protected]>2013-01-19 23:53:39 -0600
commit009812cf948ff581255adccf26a5c32646c3c164 (patch)
tree204106d8898b13727262c3c76bf4a391ed67537a /src
parentcd0aa1fec79f1b5210a2ed55afd5a205325c9d03 (diff)
downloadgtk-qt-engine-009812cf948ff581255adccf26a5c32646c3c164.tar.gz
gtk-qt-engine-009812cf948ff581255adccf26a5c32646c3c164.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'src')
-rw-r--r--src/qt_qt_wrapper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp
index ff49696..4ef9672 100644
--- a/src/qt_qt_wrapper.cpp
+++ b/src/qt_qt_wrapper.cpp
@@ -166,7 +166,7 @@ void createTQApp()
{
int argc = 1;
char** argv;
- // Supply it with fake data to keep KApplication happy
+ // Supply it with fake data to keep TDEApplication happy
argv = (char**) malloc(sizeof(char*));
argv[0] = (char*) malloc(sizeof(char) * 19);
strncpy(argv[0], "gtk-qt-application", 19);
@@ -177,7 +177,7 @@ void createTQApp()
"message goes here", 0 /* TODO: Website */, "[email protected]");
TDECmdLineArgs::init(argc, argv, &aboutData);
- KApplication::disableAutoDcopRegistration();
+ TDEApplication::disableAutoDcopRegistration();
TQString cmdLine;
@@ -374,7 +374,7 @@ void createTQApp()
if (!tqApp)
{
- new KApplication(gdk_x11_get_default_xdisplay(), true, 0, 0, true);
+ new TDEApplication(gdk_x11_get_default_xdisplay(), true, 0, 0, true);
tqAppOwner = true;
}