diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:00:31 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:00:31 -0600 |
commit | 3db357dc5a0f44a267e13d21a6b91ad68b055807 (patch) | |
tree | ee698f0038542fde2a1a93ba2ef09f0a9641d3cd | |
parent | b6d9d4f185eb0840056bbdeedb3d580c41667fee (diff) | |
download | qt4-tqt-theme-engine-3db357dc5a0f44a267e13d21a6b91ad68b055807.tar.gz qt4-tqt-theme-engine-3db357dc5a0f44a267e13d21a6b91ad68b055807.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
-rw-r--r-- | plugin/simplestyle.cpp | 6 | ||||
-rw-r--r-- | plugin/simplestyle.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/plugin/simplestyle.cpp b/plugin/simplestyle.cpp index 84146d2..dc498be 100644 --- a/plugin/simplestyle.cpp +++ b/plugin/simplestyle.cpp @@ -149,10 +149,10 @@ Qt4TDEStyle::Qt4TDEStyle() : m_aboutData(NULL), m_tqApplication(NULL), m_tdeAppl #ifdef INTEGRATE_WITH_TDE if (!tqApp) { - // Initialize KApplication required data structures + // Initialize TDEApplication required data structures 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], "Qt4TDEStyle", 19); @@ -167,7 +167,7 @@ Qt4TDEStyle::Qt4TDEStyle() : m_aboutData(NULL), m_tqApplication(NULL), m_tdeAppl // Qt4 can be SO STUPID sometimes...why can't I get the X11 display directly from qApp?!?!?? QWidget myhackedwidget; - m_tdeApplication = new KApplication(myhackedwidget.x11Info().display()); + m_tdeApplication = new TDEApplication(myhackedwidget.x11Info().display()); } // Set the Qt4 icon set to the TDE icon set diff --git a/plugin/simplestyle.h b/plugin/simplestyle.h index bfe98ed..ec09b78 100644 --- a/plugin/simplestyle.h +++ b/plugin/simplestyle.h @@ -46,7 +46,7 @@ class TQToolBox; class TQToolButton; class KAboutData; -class KApplication; +class TDEApplication; class TQPixmapCache; typedef TQIntCache<TQWidget> TQWidgetCache; @@ -108,7 +108,7 @@ private: KAboutData* m_aboutData; TQApplication* m_tqApplication; - KApplication* m_tdeApplication; + TDEApplication* m_tdeApplication; TQString m_qt4ApplicationName; TQPixmapCache* m_internalTQt3PixmapCache; |