summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/chatroommanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/chatroommanager.cpp')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/chatroommanager.cpp26
1 files changed, 13 insertions, 13 deletions
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 <qmap.h>
-#include <qvaluelist.h>
+#include <tqmap.h>
+#include <tqvaluelist.h>
#include <kdebug.h>
@@ -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<ChatroomSearchResult> roomsFound = sct->results();
- QValueList<ChatroomSearchResult>::Iterator it = roomsFound.begin();
- const QValueList<ChatroomSearchResult>::Iterator end = roomsFound.end();
+ TQValueList<ChatroomSearchResult> roomsFound = sct->results();
+ TQValueList<ChatroomSearchResult>::Iterator it = roomsFound.begin();
+ const TQValueList<ChatroomSearchResult>::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 );
}
}