From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../groupwise/libgroupwise/chatroommanager.cpp | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kopete/protocols/groupwise/libgroupwise/chatroommanager.cpp') diff --git a/kopete/protocols/groupwise/libgroupwise/chatroommanager.cpp b/kopete/protocols/groupwise/libgroupwise/chatroommanager.cpp index adbb66de..3ee9b947 100644 --- a/kopete/protocols/groupwise/libgroupwise/chatroommanager.cpp +++ b/kopete/protocols/groupwise/libgroupwise/chatroommanager.cpp @@ -16,8 +16,8 @@ ************************************************************************* */ -#include -#include +#include +#include #include @@ -29,7 +29,7 @@ #include "chatroommanager.h" ChatroomManager::ChatroomManager( Client * parent, const char *name) - : QObject(parent, name), m_client( parent ), m_replace( false ) + : TQObject(parent, name), m_client( parent ), m_replace( false ) { } @@ -52,7 +52,7 @@ void ChatroomManager::getChatrooms( bool refresh ) m_replace = !refresh; SearchChatTask * sct = new SearchChatTask( m_client->rootTask() ); sct->search( ( refresh ? SearchChatTask::SinceLastSearch : SearchChatTask::FetchAll ) ); - connect( sct, SIGNAL( finished() ), SLOT( slotGotChatroomList() ) ); + connect( sct, TQT_SIGNAL( finished() ), TQT_SLOT( slotGotChatroomList() ) ); sct->go( true ); } @@ -65,9 +65,9 @@ void ChatroomManager::slotGotChatroomList() if ( m_replace ) m_rooms.clear(); - QValueList roomsFound = sct->results(); - QValueList::Iterator it = roomsFound.begin(); - const QValueList::Iterator end = roomsFound.end(); + TQValueList roomsFound = sct->results(); + TQValueList::Iterator it = roomsFound.begin(); + const TQValueList::Iterator end = roomsFound.end(); for ( ; it != end; ++it ) { GroupWise::Chatroom c( *it ); @@ -80,7 +80,7 @@ void ChatroomManager::slotGotChatroomList() void ChatroomManager::updateCounts() { ChatCountsTask * cct = new ChatCountsTask( m_client->rootTask() ); - connect( cct, SIGNAL( finished() ), SLOT( slotGotChatCounts() ) ); + connect( cct, TQT_SIGNAL( finished() ), TQT_SLOT( slotGotChatCounts() ) ); cct->go( true ); } @@ -89,9 +89,9 @@ void ChatroomManager::slotGotChatCounts() ChatCountsTask * cct = (ChatCountsTask *)sender(); if ( cct ) { - QMap< QString, int > newCounts = cct->results(); - QMap< QString, int >::iterator it = newCounts.begin(); - const QMap< QString, int >::iterator end = newCounts.end(); + TQMap< TQString, int > newCounts = cct->results(); + TQMap< TQString, int >::iterator it = newCounts.begin(); + const TQMap< TQString, int >::iterator end = newCounts.end(); for ( ; it != end; ++it ) if ( m_rooms.contains( it.key() ) ) @@ -100,7 +100,7 @@ void ChatroomManager::slotGotChatCounts() emit updated(); } -void ChatroomManager::requestProperties( const QString & displayName ) +void ChatroomManager::requestProperties( const TQString & displayName ) { if ( 0 /*m_rooms.contains( displayName ) */) emit gotProperties( m_rooms[ displayName ] ); @@ -108,7 +108,7 @@ void ChatroomManager::requestProperties( const QString & displayName ) { ChatPropertiesTask * cpt = new ChatPropertiesTask( m_client->rootTask() ); cpt->setChat( displayName ); - connect ( cpt, SIGNAL( finished() ), SLOT( slotGotChatProperties() ) ); + connect ( cpt, TQT_SIGNAL( finished() ), TQT_SLOT( slotGotChatProperties() ) ); cpt->go( true ); } } -- cgit v1.2.1