From 43d99cc2477266cb9072e179137f0e8485370b3d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 7 Nov 2011 20:26:07 -0600 Subject: Rename kwin to twin (part 1 of 2) --- ksystraycmd/ksystraycmd.cpp | 14 +++++++------- ksystraycmd/ksystraycmd.h | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'ksystraycmd') diff --git a/ksystraycmd/ksystraycmd.cpp b/ksystraycmd/ksystraycmd.cpp index 3fd228a30..3ec2be165 100644 --- a/ksystraycmd/ksystraycmd.cpp +++ b/ksystraycmd/ksystraycmd.cpp @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include @@ -23,10 +23,10 @@ KSysTrayCmd::KSysTrayCmd() : TQLabel( 0, "systray_cmd" ), isVisible(true), lazyStart( false ), noquit( false ), quitOnHide( false ), onTop(false), ownIcon(false), - win(0), client(0), kwinmodule(0), top(0), left(0) + win(0), client(0), twinmodule(0), top(0), left(0) { tqsetAlignment( AlignCenter ); - kwinmodule = new KWinModule( TQT_TQOBJECT(this) ); + twinmodule = new KWinModule( TQT_TQOBJECT(this) ); refresh(); } @@ -114,8 +114,8 @@ void KSysTrayCmd::setTargetWindow( WId w ) void KSysTrayCmd::setTargetWindow( const KWin::WindowInfo &info ) { - disconnect( kwinmodule, TQT_SIGNAL(windowAdded(WId)), this, TQT_SLOT(windowAdded(WId)) ); - connect( kwinmodule, TQT_SIGNAL(windowChanged(WId)), TQT_SLOT(windowChanged(WId)) ); + disconnect( twinmodule, TQT_SIGNAL(windowAdded(WId)), this, TQT_SLOT(windowAdded(WId)) ); + connect( twinmodule, TQT_SIGNAL(windowChanged(WId)), TQT_SLOT(windowChanged(WId)) ); win = info.win(); KWin::setSystemTrayWindowFor( winId(), win ); refresh(); @@ -179,7 +179,7 @@ bool KSysTrayCmd::startClient() { client = new KShellProcess(); *client << command; - connect( kwinmodule, TQT_SIGNAL(windowAdded(WId)), TQT_SLOT(windowAdded(WId)) ); + connect( twinmodule, TQT_SIGNAL(windowAdded(WId)), TQT_SLOT(windowAdded(WId)) ); connect( client, TQT_SIGNAL( processExited(KProcess *) ), this, TQT_SLOT( clientExited() ) ); @@ -265,7 +265,7 @@ void KSysTrayCmd::execContextMenu( const TQPoint &pos ) void KSysTrayCmd::checkExistingWindows() { TQValueList::ConstIterator it; - for ( it = kwinmodule->windows().begin(); it != kwinmodule->windows().end(); ++it ) { + for ( it = twinmodule->windows().begin(); it != twinmodule->windows().end(); ++it ) { windowAdded( *it ); if ( win ) break; diff --git a/ksystraycmd/ksystraycmd.h b/ksystraycmd/ksystraycmd.h index b8af38785..abad3ec57 100644 --- a/ksystraycmd/ksystraycmd.h +++ b/ksystraycmd/ksystraycmd.h @@ -4,7 +4,7 @@ #define KSYSTRAYCMD_H #include -#include +#include class KShellProcess; class KWinModule; @@ -77,7 +77,7 @@ private: WId win; KShellProcess *client; - KWinModule *kwinmodule; + KWinModule *twinmodule; TQString errStr; /** Memorized 'top' position of the window*/ -- cgit v1.2.1