summaryrefslogtreecommitdiffstats
path: root/ksystraycmd/ksystraycmd.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-07 20:26:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-07 20:26:07 -0600
commit43d99cc2477266cb9072e179137f0e8485370b3d (patch)
tree0d4d47e5497a1a1465edf8263f57b72725577239 /ksystraycmd/ksystraycmd.cpp
parent6354e6b3babad3ed0f5e314735bbbc01d1988eb2 (diff)
downloadtdebase-43d99cc2477266cb9072e179137f0e8485370b3d.tar.gz
tdebase-43d99cc2477266cb9072e179137f0e8485370b3d.zip
Rename kwin to twin (part 1 of 2)
Diffstat (limited to 'ksystraycmd/ksystraycmd.cpp')
-rw-r--r--ksystraycmd/ksystraycmd.cpp14
1 files changed, 7 insertions, 7 deletions
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 <klocale.h>
#include <kpopupmenu.h>
#include <kprocess.h>
-#include <kwinmodule.h>
+#include <twinmodule.h>
#include <kconfig.h>
#include <ksystemtray.h>
@@ -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<WId>::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;