From d1e0cc99a202cef3306b90b8839a6726e89f201e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 23:21:04 -0600 Subject: Rename many classes and header files to avoid conflicts with KDE4 --- tdeui/tdemainwindow.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'tdeui/tdemainwindow.cpp') diff --git a/tdeui/tdemainwindow.cpp b/tdeui/tdemainwindow.cpp index 743c273cc..b7596c262 100644 --- a/tdeui/tdemainwindow.cpp +++ b/tdeui/tdemainwindow.cpp @@ -23,9 +23,9 @@ */ #include "config.h" -#include "kmainwindow.h" -#include "kmainwindowiface.h" -#include "ktoolbarhandler.h" +#include "tdemainwindow.h" +#include "tdemainwindowiface.h" +#include "tdetoolbarhandler.h" #include "kwhatsthismanager_p.h" #include #include @@ -34,8 +34,8 @@ #include #include -#include -#include +#include +#include #include #include #include @@ -44,7 +44,7 @@ #include #include #include -#include +#include #include #include @@ -67,7 +67,7 @@ public: bool care_about_geometry:1; bool shuttingDown:1; TQString autoSaveGroup; - TDEAccel * kaccel; + TDEAccel * tdeaccel; TDEMainWindowInterface *m_interface; KDEPrivate::ToolBarHandler *toolBarHandler; TQTimer* settingsTimer; @@ -238,7 +238,7 @@ void TDEMainWindow::initTDEMainWindow(const char *name, int cflags) d->settingsDirty = false; d->autoSaveSettings = false; d->autoSaveWindowSize = true; // for compatibility - d->kaccel = actionCollection()->kaccel(); + d->tdeaccel = actionCollection()->tdeaccel(); d->toolBarHandler = 0; d->settingsTimer = 0; d->showStatusBarAction = NULL; @@ -1170,9 +1170,9 @@ TQPtrListIterator TDEMainWindow::toolBarIterator() TDEAccel * TDEMainWindow::accel() { - if ( !d->kaccel ) - d->kaccel = new TDEAccel( this, "kmw-kaccel" ); - return d->kaccel; + if ( !d->tdeaccel ) + d->tdeaccel = new TDEAccel( this, "kmw-tdeaccel" ); + return d->tdeaccel; } void TDEMainWindow::paintEvent( TQPaintEvent * pe ) @@ -1245,5 +1245,5 @@ void TDEMainWindow::virtual_hook( int id, void* data ) -#include "kmainwindow.moc" +#include "tdemainwindow.moc" -- cgit v1.2.1