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) --- kicker/applets/systemtray/systemtrayapplet.cpp | 16 ++++++++-------- kicker/applets/systemtray/systemtrayapplet.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kicker/applets/systemtray') diff --git a/kicker/applets/systemtray/systemtrayapplet.cpp b/kicker/applets/systemtray/systemtrayapplet.cpp index 619fdebcc..570db2f92 100644 --- a/kicker/applets/systemtray/systemtrayapplet.cpp +++ b/kicker/applets/systemtray/systemtrayapplet.cpp @@ -42,11 +42,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include #include -#include +#include #include #include #include -#include +#include #include "kickerSettings.h" @@ -102,7 +102,7 @@ SystemTrayApplet::SystemTrayApplet(const TQString& configFile, Type type, int ac setBackgroundOrigin(AncestorOrigin); - kwin_module = new KWinModule(TQT_TQOBJECT(this)); + twin_module = new KWinModule(TQT_TQOBJECT(this)); // kApplication notifies us of settings changes. added to support // disabling of frame effect on mouse hover @@ -121,7 +121,7 @@ void SystemTrayApplet::updateClockGeometry() void SystemTrayApplet::initialize() { // register existing tray windows - const TQValueList systemTrayWindows = kwin_module->systemTrayWindows(); + const TQValueList systemTrayWindows = twin_module->systemTrayWindows(); bool existing = false; for (TQValueList::ConstIterator it = systemTrayWindows.begin(); it != systemTrayWindows.end(); ++it ) @@ -139,9 +139,9 @@ void SystemTrayApplet::initialize() } // the KWinModule notifies us when tray windows are added or removed - connect( kwin_module, TQT_SIGNAL( systemTrayWindowAdded(WId) ), + connect( twin_module, TQT_SIGNAL( systemTrayWindowAdded(WId) ), this, TQT_SLOT( systemTrayWindowAdded(WId) ) ); - connect( kwin_module, TQT_SIGNAL( systemTrayWindowRemoved(WId) ), + connect( twin_module, TQT_SIGNAL( systemTrayWindowRemoved(WId) ), this, TQT_SLOT( updateTrayWindows() ) ); TQCString screenstr; @@ -711,7 +711,7 @@ void SystemTrayApplet::updateTrayWindows() WId wid = (*emb)->embeddedWinId(); if ((wid == 0) || ((*emb)->kdeTray() && - !kwin_module->systemTrayWindows().contains(wid))) + !twin_module->systemTrayWindows().contains(wid))) { (*emb)->deleteLater(); emb = m_shownWins.erase(emb); @@ -728,7 +728,7 @@ void SystemTrayApplet::updateTrayWindows() WId wid = (*emb)->embeddedWinId(); if ((wid == 0) || ((*emb)->kdeTray() && - !kwin_module->systemTrayWindows().contains(wid))) + !twin_module->systemTrayWindows().contains(wid))) { (*emb)->deleteLater(); emb = m_hiddenWins.erase(emb); diff --git a/kicker/applets/systemtray/systemtrayapplet.h b/kicker/applets/systemtray/systemtrayapplet.h index 868941c13..92aab7268 100644 --- a/kicker/applets/systemtray/systemtrayapplet.h +++ b/kicker/applets/systemtray/systemtrayapplet.h @@ -104,7 +104,7 @@ private: TrayEmbedList m_hiddenWins; TQStringList m_hiddenIconList; TQStringList m_sortOrderIconList; - KWinModule *kwin_module; + KWinModule *twin_module; Atom net_system_tray_selection; Atom net_system_tray_opcode; bool m_showFrame; -- cgit v1.2.1