summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/chatwindow/kopetechatwindow.cpp
diff options
context:
space:
mode:
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() ) );