diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-07 20:30:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-07 20:30:08 -0600 |
commit | 2caaeba93d19304c81265b0c0e9ca98dc7489177 (patch) | |
tree | fef0df64e687a657ced1e48fb61bf9b8022bd867 /superkaramba/src/systemtray.cpp | |
parent | f5d672d1dd1e7bca985a1b31baff948c47c55ef8 (diff) | |
download | tdeutils-2caaeba93d19304c81265b0c0e9ca98dc7489177.tar.gz tdeutils-2caaeba93d19304c81265b0c0e9ca98dc7489177.zip |
Rename kwin to twin (part 1 of 2)
Diffstat (limited to 'superkaramba/src/systemtray.cpp')
-rw-r--r-- | superkaramba/src/systemtray.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/superkaramba/src/systemtray.cpp b/superkaramba/src/systemtray.cpp index fbd4625..3e0d4ba 100644 --- a/superkaramba/src/systemtray.cpp +++ b/superkaramba/src/systemtray.cpp @@ -22,10 +22,10 @@ #include <tqobject.h> #include <kiconloader.h> #include <klocale.h> -#include <kwinmodule.h> +#include <twinmodule.h> #include <kmessagebox.h> #include <kdebug.h> -#include <kwin.h> +#include <twin.h> #include <tqpopupmenu.h> #include <tqdragobject.h> @@ -51,7 +51,7 @@ Systemtray::~Systemtray() int Systemtray::getTraySize() { - return (int) kwin_module->systemTrayWindows().size(); + return (int) twin_module->systemTrayWindows().size(); } void Systemtray::updateBackgroundPixmap ( const TQPixmap & pixmap) { @@ -82,8 +82,8 @@ void Systemtray::initSystray( void ) Display *display = qt_xdisplay(); no_of_systray_windows = 0; - kwin_module = new KWinModule(); - systemTrayWindows = kwin_module->systemTrayWindows(); + twin_module = new KWinModule(); + systemTrayWindows = twin_module->systemTrayWindows(); TQValueList<WId>::ConstIterator end(systemTrayWindows.end()); for (TQValueList<WId>::ConstIterator it = systemTrayWindows.begin(); it!=end; ++it) { @@ -107,8 +107,8 @@ void Systemtray::initSystray( void ) updateTrayWindows(); - connect(kwin_module, TQT_SIGNAL(systemTrayWindowAdded(WId)), TQT_SLOT(systemTrayWindowAdded(WId))); - connect(kwin_module, TQT_SIGNAL(systemTrayWindowRemoved(WId)), TQT_SLOT(systemTrayWindowRemoved(WId))); + connect(twin_module, TQT_SIGNAL(systemTrayWindowAdded(WId)), TQT_SLOT(systemTrayWindowAdded(WId))); + connect(twin_module, TQT_SIGNAL(systemTrayWindowRemoved(WId)), TQT_SLOT(systemTrayWindowRemoved(WId))); TQCString screenstr; screenstr.setNum(qt_xscreen()); @@ -153,7 +153,7 @@ void Systemtray::updateTrayWindows( void ) while ((emb = m_Wins.current()) != 0L) { WId wid = emb->embeddedWinId(); - if ((wid == 0) || !kwin_module->systemTrayWindows().contains(wid) ) + if ((wid == 0) || !twin_module->systemTrayWindows().contains(wid) ) m_Wins.remove(emb); else m_Wins.next(); |