diff options
Diffstat (limited to 'src/komposetask.cpp')
-rw-r--r-- | src/komposetask.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/komposetask.cpp b/src/komposetask.cpp index 0d34c13..bf70b02 100644 --- a/src/komposetask.cpp +++ b/src/komposetask.cpp @@ -30,8 +30,8 @@ #include <tqpixmap.h> #include <kpixmapio.h> -#include <kwinmodule.h> -#include <klocale.h> +#include <twinmodule.h> +#include <tdelocale.h> #include <kdebug.h> #include <netwm.h> @@ -41,9 +41,9 @@ #include "komposetaskvisualizer.h" #include <X11/Xlib.h> -KomposeTask::KomposeTask(WId win, KWinModule *kwinmod, TQObject *parent, const char *name) +KomposeTask::KomposeTask(WId win, KWinModule *twinmod, TQObject *parent, const char *name) : TQObject(parent, name), - kwinmodule(kwinmod), + twinmodule(twinmod), windowID(win), blockDamageEvents(false) { @@ -105,7 +105,7 @@ bool KomposeTask::isOnTop() const bool KomposeTask::isActive() const { - if ( kwinmodule->activeWindow() == windowID ) + if ( twinmodule->activeWindow() == windowID ) return true; else return false; @@ -244,7 +244,7 @@ void KomposeTask::toDesktop(int desk) void KomposeTask::toCurrentDesktop() { - toDesktop(kwinmodule->currentDesktop()); + toDesktop(twinmodule->currentDesktop()); } void KomposeTask::setAlwaysOnTop(bool stay) |