diff options
-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; |