summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/chatwindow/kopetechatwindow.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
commit937b2991d8e78166eea904c80ad04d34607017a4 (patch)
tree2accb8161eab09df5d7a5484ea9ea080ad123168 /kopete/kopete/chatwindow/kopetechatwindow.cpp
parentdba26cb985af370c33d1767037851705cc561726 (diff)
downloadtdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz
tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/kopete/chatwindow/kopetechatwindow.cpp')
-rw-r--r--kopete/kopete/chatwindow/kopetechatwindow.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/kopete/chatwindow/kopetechatwindow.cpp b/kopete/kopete/chatwindow/kopetechatwindow.cpp
index 64bf5099..e88c13cc 100644
--- a/kopete/kopete/chatwindow/kopetechatwindow.cpp
+++ b/kopete/kopete/chatwindow/kopetechatwindow.cpp
@@ -98,21 +98,21 @@ KopeteChatWindow *KopeteChatWindow::window( Kopete::ChatSession *manager )
switch( KopetePrefs::prefs()->chatWindowPolicy() )
{
case GROUP_BY_ACCOUNT: //Open chats from the same protocol in the same window
- if( accountMap.tqcontains( manager->account() ) )
+ if( accountMap.contains( manager->account() ) )
myWindow = accountMap[ manager->account() ];
else
windowCreated = true;
break;
case GROUP_BY_GROUP: //Open chats from the same group in the same window
- if( group && groupMap.tqcontains( group ) )
+ if( group && groupMap.contains( group ) )
myWindow = groupMap[ group ];
else
windowCreated = true;
break;
case GROUP_BY_METACONTACT: //Open chats from the same metacontact in the same window
- if( mcMap.tqcontains( metaContact ) )
+ if( mcMap.contains( metaContact ) )
myWindow = mcMap[ metaContact ];
else
windowCreated = true;
@@ -149,13 +149,13 @@ KopeteChatWindow *KopeteChatWindow::window( Kopete::ChatSession *manager )
{
myWindow = new KopeteChatWindow();
- if ( !accountMap.tqcontains( manager->account() ) )
+ if ( !accountMap.contains( manager->account() ) )
accountMap.insert( manager->account(), myWindow );
- if ( !mcMap.tqcontains( metaContact ) )
+ if ( !mcMap.contains( metaContact ) )
mcMap.insert( metaContact, myWindow );
- if ( group && !groupMap.tqcontains( group ) )
+ if ( group && !groupMap.contains( group ) )
groupMap.insert( group, myWindow );
}
@@ -857,7 +857,7 @@ void KopeteChatWindow::setActiveView( TQWidget *widget )
m_activeView = view;
- if( !chatViewList.tqcontains( view ) )
+ if( !chatViewList.contains( view ) )
attachChatView( view );
connect( m_activeView, TQT_SIGNAL( canSendChanged(bool) ), this, TQT_SLOT( slotUpdateSendEnabled() ) );