diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /superkaramba/src/showdesktop.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'superkaramba/src/showdesktop.cpp')
-rw-r--r-- | superkaramba/src/showdesktop.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/superkaramba/src/showdesktop.cpp b/superkaramba/src/showdesktop.cpp index 304dcb6..159ccae 100644 --- a/superkaramba/src/showdesktop.cpp +++ b/superkaramba/src/showdesktop.cpp @@ -33,17 +33,17 @@ ShowDesktop* ShowDesktop::the() } ShowDesktop::ShowDesktop() - : QObject() + : TQObject() , showingDesktop( false ) , kWinModule( 0 ) { kWinModule = new KWinModule( this ); // on desktop changes or when a window is deiconified, we abort the show desktop mode - connect( kWinModule, SIGNAL(currentDesktopChanged(int)), - SLOT(slotCurrentDesktopChanged(int))); - connect( kWinModule, SIGNAL(windowChanged(WId,unsigned int)), - SLOT(slotWindowChanged(WId,unsigned int))); + connect( kWinModule, TQT_SIGNAL(currentDesktopChanged(int)), + TQT_SLOT(slotCurrentDesktopChanged(int))); + connect( kWinModule, TQT_SIGNAL(windowChanged(WId,unsigned int)), + TQT_SLOT(slotWindowChanged(WId,unsigned int))); } void ShowDesktop::slotCurrentDesktopChanged(int) @@ -91,9 +91,9 @@ void ShowDesktop::showDesktop( bool b ) if ( b ) { // this code should move to KWin after supporting NETWM1.2 iconifiedList.clear(); - const QValueList<WId> windows = kWinModule->windows(); - QValueList<WId>::ConstIterator it; - QValueList<WId>::ConstIterator end( windows.end() ); + const TQValueList<WId> windows = kWinModule->windows(); + TQValueList<WId>::ConstIterator it; + TQValueList<WId>::ConstIterator end( windows.end() ); for ( it=windows.begin(); it!=end; ++it ) { WId w = *it; NETWinInfo info( qt_xdisplay(), w, qt_xrootwin(), @@ -107,13 +107,13 @@ void ShowDesktop::showDesktop( bool b ) } // find first, hide later, otherwise transients may get minimized // with the window they're transient for - QValueList<WId>::ConstIterator endInconifiedList( iconifiedList.end() ); + TQValueList<WId>::ConstIterator endInconifiedList( iconifiedList.end() ); for ( it=iconifiedList.begin(); it!=endInconifiedList; ++it ) { KWin::iconifyWindow( *it, false ); } } else { - QValueList<WId>::ConstIterator it; - QValueList<WId>::ConstIterator end( iconifiedList.end() ); + TQValueList<WId>::ConstIterator it; + TQValueList<WId>::ConstIterator end( iconifiedList.end() ); for ( it=iconifiedList.begin(); it!=end; ++it ) { KWin::deIconifyWindow( *it, false ); } |