summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/ui/gwchatsearchdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise/ui/gwchatsearchdialog.cpp')
-rw-r--r--kopete/protocols/groupwise/ui/gwchatsearchdialog.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kopete/protocols/groupwise/ui/gwchatsearchdialog.cpp b/kopete/protocols/groupwise/ui/gwchatsearchdialog.cpp
index fb67a03e..b9021b1f 100644
--- a/kopete/protocols/groupwise/ui/gwchatsearchdialog.cpp
+++ b/kopete/protocols/groupwise/ui/gwchatsearchdialog.cpp
@@ -16,7 +16,7 @@
*************************************************************************
*/
-#include <qmap.h>
+#include <tqmap.h>
#include <klistview.h>
#include <klistviewsearchline.h>
@@ -34,7 +34,7 @@
#include "gwchatsearchdialog.h"
-GroupWiseChatSearchDialog::GroupWiseChatSearchDialog( GroupWiseAccount * account, QWidget *parent, const char *name )
+GroupWiseChatSearchDialog::GroupWiseChatSearchDialog( GroupWiseAccount * account, TQWidget *parent, const char *name )
: KDialogBase( parent, name, false, i18n( "Search Chatrooms" ),
KDialogBase::Ok|KDialogBase::Apply|KDialogBase::Cancel, Ok, true ), m_account( account )
{
@@ -44,12 +44,12 @@ GroupWiseChatSearchDialog::GroupWiseChatSearchDialog( GroupWiseAccount * account
m_manager = m_account->client()->chatroomManager();
- connect ( m_manager, SIGNAL( updated() ), SLOT( slotManagerUpdated() ) );
- connect ( m_manager, SIGNAL( gotProperties( const GroupWise::Chatroom & ) ),
- SLOT( slotGotProperties( const GroupWise::Chatroom & ) ) );
+ connect ( m_manager, TQT_SIGNAL( updated() ), TQT_SLOT( slotManagerUpdated() ) );
+ connect ( m_manager, TQT_SIGNAL( gotProperties( const GroupWise::Chatroom & ) ),
+ TQT_SLOT( slotGotProperties( const GroupWise::Chatroom & ) ) );
- connect( m_widget->m_btnRefresh, SIGNAL( clicked() ), SLOT( slotUpdateClicked() ) );
- connect( m_widget->m_btnProperties, SIGNAL( clicked() ), SLOT( slotPropertiesClicked() ) );
+ connect( m_widget->m_btnRefresh, TQT_SIGNAL( clicked() ), TQT_SLOT( slotUpdateClicked() ) );
+ connect( m_widget->m_btnProperties, TQT_SIGNAL( clicked() ), TQT_SLOT( slotPropertiesClicked() ) );
m_manager->updateRooms();
show();
@@ -63,12 +63,12 @@ void GroupWiseChatSearchDialog::slotUpdateClicked()
{
kdDebug ( GROUPWISE_DEBUG_GLOBAL ) << "updating chatroom list " << endl;
m_widget->m_chatrooms->clear();
- QListViewItem * first = m_widget->m_chatrooms->firstChild();
- QString updateMessage = i18n("Updating chatroom list..." );
+ TQListViewItem * first = m_widget->m_chatrooms->firstChild();
+ TQString updateMessage = i18n("Updating chatroom list..." );
/* if ( first )
- new QListViewItem( first, updateMessage );
+ new TQListViewItem( first, updateMessage );
else*/
- new QListViewItem( m_widget->m_chatrooms, updateMessage );
+ new TQListViewItem( m_widget->m_chatrooms, updateMessage );
m_manager->updateRooms();
}
@@ -80,17 +80,17 @@ void GroupWiseChatSearchDialog::slotManagerUpdated()
const ChatroomMap::iterator end = rooms.end();
while ( it != end )
{
- new QListViewItem( m_widget->m_chatrooms,
+ new TQListViewItem( m_widget->m_chatrooms,
it.data().displayName,
m_account->protocol()->dnToDotted( it.data().ownerDN ),
- QString::number( it.data().participantsCount ) );
+ TQString::number( it.data().participantsCount ) );
++it;
}
}
void GroupWiseChatSearchDialog::slotPropertiesClicked()
{
- QListViewItem * selected = m_widget->m_chatrooms->selectedItem();
+ TQListViewItem * selected = m_widget->m_chatrooms->selectedItem();
if ( selected )
{
m_manager->requestProperties( selected->text( 0 ) );