diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/groupwise/ui/gwchatsearchdialog.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/groupwise/ui/gwchatsearchdialog.cpp')
-rw-r--r-- | kopete/protocols/groupwise/ui/gwchatsearchdialog.cpp | 28 |
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 ) ); |