summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/chatwindow/chatmemberslistwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/chatwindow/chatmemberslistwidget.cpp')
-rw-r--r--kopete/kopete/chatwindow/chatmemberslistwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/kopete/chatwindow/chatmemberslistwidget.cpp b/kopete/kopete/chatwindow/chatmemberslistwidget.cpp
index 9cafeada..9ac26ad3 100644
--- a/kopete/kopete/chatwindow/chatmemberslistwidget.cpp
+++ b/kopete/kopete/chatwindow/chatmemberslistwidget.cpp
@@ -55,7 +55,7 @@ public:
if( TQListViewItem *item = m_listView->itemAt( pos ) )
{
TQRect tqitemRect = m_listView->tqitemRect( item );
- if( tqitemRect.tqcontains( pos ) )
+ if( tqitemRect.contains( pos ) )
tip( tqitemRect, static_cast<ContactItem*>( item )->contact()->toolTip() );
}
}
@@ -183,14 +183,14 @@ void ChatMembersListWidget::slotContextMenu( KListView*, TQListViewItem *item, c
void ChatMembersListWidget::slotContactAdded( const Kopete::Contact *contact )
{
- if ( !m_members.tqcontains( contact ) )
+ if ( !m_members.contains( contact ) )
m_members.insert( contact, new ContactItem( this, const_cast<Kopete::Contact*>( contact ) ) );
}
void ChatMembersListWidget::slotContactRemoved( const Kopete::Contact *contact )
{
kdDebug(14000) << k_funcinfo << endl;
- if ( m_members.tqcontains( contact ) && contact != session()->myself() )
+ if ( m_members.contains( contact ) && contact != session()->myself() )
{
delete m_members[ contact ];
m_members.remove( contact );
@@ -199,7 +199,7 @@ void ChatMembersListWidget::slotContactRemoved( const Kopete::Contact *contact )
void ChatMembersListWidget::slotContactStatusChanged( Kopete::Contact *contact, const Kopete::OnlineStatus &status )
{
- if ( m_members.tqcontains( contact ) )
+ if ( m_members.contains( contact ) )
m_members[contact]->settqStatus( status );
}