summaryrefslogtreecommitdiffstats
path: root/kwin/tabbox.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit9a3f0aacd44fb866833ebcb852df3cd31475cb33 (patch)
tree9f699684624f4e78e13e7dd2393a103cc6fa8274 /kwin/tabbox.cpp
parent341ad02235b9c85cd31782225181ed475b74eaa3 (diff)
downloadtdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.tar.gz
tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/tabbox.cpp')
-rw-r--r--kwin/tabbox.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kwin/tabbox.cpp b/kwin/tabbox.cpp
index 0f229637a..19f6560a1 100644
--- a/kwin/tabbox.cpp
+++ b/kwin/tabbox.cpp
@@ -114,7 +114,7 @@ void TabBox::createClientList(ClientList &list, int desktop /*-1 = all*/, Client
Client* modal = c->findModal();
if( modal == NULL || modal == c )
add = c;
- else if( !list.tqcontains( modal ))
+ else if( !list.contains( modal ))
add = modal;
else
{
@@ -271,7 +271,7 @@ void TabBox::nextPrev( bool next)
client = 0;
break;
}
- } while ( client && !clients.tqcontains( client ));
+ } while ( client && !clients.contains( client ));
setCurrentClient( client );
}
else if( mode() == DesktopMode )
@@ -696,7 +696,7 @@ void TabBox::handleMouseEvent( XEvent* e )
if( e->type != ButtonPress )
return;
TQPoint pos( e->xbutton.x_root, e->xbutton.y_root );
- if( !tqgeometry().tqcontains( pos ))
+ if( !tqgeometry().contains( pos ))
{
workspace()->closeTabBox(); // click outside closes tab
return;
@@ -1227,7 +1227,7 @@ void Workspace::tabBoxKeyRelease( const XKeyEvent& ev )
int Workspace::nextDesktopFocusChain( int iDesktop ) const
{
- int i = desktop_focus_chain.tqfind( iDesktop );
+ int i = desktop_focus_chain.find( iDesktop );
if( i >= 0 && i+1 < (int)desktop_focus_chain.size() )
return desktop_focus_chain[i+1];
else if( desktop_focus_chain.size() > 0 )
@@ -1238,7 +1238,7 @@ int Workspace::nextDesktopFocusChain( int iDesktop ) const
int Workspace::previousDesktopFocusChain( int iDesktop ) const
{
- int i = desktop_focus_chain.tqfind( iDesktop );
+ int i = desktop_focus_chain.find( iDesktop );
if( i-1 >= 0 )
return desktop_focus_chain[i-1];
else if( desktop_focus_chain.size() > 0 )
@@ -1255,7 +1255,7 @@ Client* Workspace::nextFocusChainClient( Client* c ) const
{
if ( global_focus_chain.isEmpty() )
return 0;
- ClientList::ConstIterator it = global_focus_chain.tqfind( c );
+ ClientList::ConstIterator it = global_focus_chain.find( c );
if ( it == global_focus_chain.end() )
return global_focus_chain.last();
if ( it == global_focus_chain.begin() )
@@ -1272,7 +1272,7 @@ Client* Workspace::previousFocusChainClient( Client* c ) const
{
if ( global_focus_chain.isEmpty() )
return 0;
- ClientList::ConstIterator it = global_focus_chain.tqfind( c );
+ ClientList::ConstIterator it = global_focus_chain.find( c );
if ( it == global_focus_chain.end() )
return global_focus_chain.first();
++it;
@@ -1289,7 +1289,7 @@ Client* Workspace::nextStaticClient( Client* c ) const
{
if ( !c || clients.isEmpty() )
return 0;
- ClientList::ConstIterator it = clients.tqfind( c );
+ ClientList::ConstIterator it = clients.find( c );
if ( it == clients.end() )
return clients.first();
++it;
@@ -1305,7 +1305,7 @@ Client* Workspace::previousStaticClient( Client* c ) const
{
if ( !c || clients.isEmpty() )
return 0;
- ClientList::ConstIterator it = clients.tqfind( c );
+ ClientList::ConstIterator it = clients.find( c );
if ( it == clients.end() )
return clients.last();
if ( it == clients.begin() )