summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/icq
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/icq')
-rw-r--r--kopete/protocols/oscar/icq/icqaccount.cpp26
-rw-r--r--kopete/protocols/oscar/icq/icqcontact.cpp72
-rw-r--r--kopete/protocols/oscar/icq/icqreadaway.cpp20
-rw-r--r--kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp4
-rw-r--r--kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp2
-rw-r--r--kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp34
-rw-r--r--kopete/protocols/oscar/icq/ui/icquserinfowidget.cpp20
7 files changed, 89 insertions, 89 deletions
diff --git a/kopete/protocols/oscar/icq/icqaccount.cpp b/kopete/protocols/oscar/icq/icqaccount.cpp
index f5c6b9ea..01892598 100644
--- a/kopete/protocols/oscar/icq/icqaccount.cpp
+++ b/kopete/protocols/oscar/icq/icqaccount.cpp
@@ -43,9 +43,9 @@
ICQMyselfContact::ICQMyselfContact( ICQAccount *acct ) : OscarMyselfContact( acct )
{
- TQObject::connect( acct->engine(), TQT_SIGNAL( loggedIn() ), this, TQT_SLOT( fetchShortInfo() ) );
- TQObject::connect( acct->engine(), TQT_SIGNAL( receivedIcqShortInfo( const TQString& ) ),
- this, TQT_SLOT( receivedShortInfo( const TQString& ) ) );
+ TQObject::connect( acct->engine(), TQ_SIGNAL( loggedIn() ), this, TQ_SLOT( fetchShortInfo() ) );
+ TQObject::connect( acct->engine(), TQ_SIGNAL( receivedIcqShortInfo( const TQString& ) ),
+ this, TQ_SLOT( receivedShortInfo( const TQString& ) ) );
}
void ICQMyselfContact::userInfoUpdated()
@@ -88,10 +88,10 @@ ICQAccount::ICQAccount(Kopete::Protocol *parent, TQString accountID, const char
mHideIP = configGroup()->readBoolEntry( "HideIP", true );
mInitialStatusMessage = TQString();
- TQObject::connect( Kopete::ContactList::self(), TQT_SIGNAL( globalIdentityChanged( const TQString&, const TQVariant& ) ),
- this, TQT_SLOT( slotGlobalIdentityChanged( const TQString&, const TQVariant& ) ) );
+ TQObject::connect( Kopete::ContactList::self(), TQ_SIGNAL( globalIdentityChanged( const TQString&, const TQVariant& ) ),
+ this, TQ_SLOT( slotGlobalIdentityChanged( const TQString&, const TQVariant& ) ) );
- TQObject::connect( this, TQT_SIGNAL( buddyIconChanged() ), this, TQT_SLOT( slotBuddyIconChanged() ) );
+ TQObject::connect( this, TQ_SIGNAL( buddyIconChanged() ), this, TQ_SLOT( slotBuddyIconChanged() ) );
//setIgnoreUnknownContacts(pluginData(protocol(), "IgnoreUnknownContacts").toUInt() == 1);
@@ -129,15 +129,15 @@ TDEActionMenu* ICQAccount::actionMenu()
TDEToggleAction* actionInvisible =
new TDEToggleAction( i18n( "In&visible" ),
ICQ::Presence( presence().type(), ICQ::Presence::Invisible ).toOnlineStatus().iconFor( this ),
- 0, this, TQT_SLOT( slotToggleInvisible() ), this );
+ 0, this, TQ_SLOT( slotToggleInvisible() ), this );
actionInvisible->setChecked( presence().visibility() == ICQ::Presence::Invisible );
actionMenu->insert( actionInvisible );
actionMenu->popupMenu()->insertSeparator();
actionMenu->insert( new TDEToggleAction( i18n( "Set Visibility..." ), 0, 0,
- this, TQT_SLOT( slotSetVisiblility() ), this,
+ this, TQ_SLOT( slotSetVisiblility() ), this,
"ICQAccount::mActionSetVisibility") );
- //actionMenu->insert( new TDEToggleAction( i18n( "Send &SMS..." ), 0, 0, this, TQT_SLOT( slotSendSMS() ), this, "ICQAccount::mActionSendSMS") );
+ //actionMenu->insert( new TDEToggleAction( i18n( "Send &SMS..." ), 0, 0, this, TQ_SLOT( slotSendSMS() ), this, "ICQAccount::mActionSendSMS") );
return actionMenu;
}
@@ -231,8 +231,8 @@ void ICQAccount::slotSetVisiblility()
if ( !m_visibilityDialog )
{
m_visibilityDialog = new OscarVisibilityDialog( engine(), Kopete::UI::Global::mainWidget() );
- TQObject::connect( m_visibilityDialog, TQT_SIGNAL( closing() ),
- this, TQT_SLOT( slotVisibilityDialogClosed() ) );
+ TQObject::connect( m_visibilityDialog, TQ_SIGNAL( closing() ),
+ this, TQ_SLOT( slotVisibilityDialogClosed() ) );
//add all contacts;
OscarVisibilityDialog::ContactMap contactMap;
@@ -417,10 +417,10 @@ void ICQAccount::slotGlobalIdentityChanged( const TQString& key, const TQVariant
void ICQAccount::slotBuddyIconChanged()
{
// need to disconnect because we could end up with many connections
- TQObject::disconnect( engine(), TQT_SIGNAL( iconServerConnected() ), this, TQT_SLOT( slotBuddyIconChanged() ) );
+ TQObject::disconnect( engine(), TQ_SIGNAL( iconServerConnected() ), this, TQ_SLOT( slotBuddyIconChanged() ) );
if ( !engine()->isActive() )
{
- TQObject::connect( engine(), TQT_SIGNAL( iconServerConnected() ), this, TQT_SLOT( slotBuddyIconChanged() ) );
+ TQObject::connect( engine(), TQ_SIGNAL( iconServerConnected() ), this, TQ_SLOT( slotBuddyIconChanged() ) );
return;
}
diff --git a/kopete/protocols/oscar/icq/icqcontact.cpp b/kopete/protocols/oscar/icq/icqcontact.cpp
index 01c0e43d..2758d2c4 100644
--- a/kopete/protocols/oscar/icq/icqcontact.cpp
+++ b/kopete/protocols/oscar/icq/icqcontact.cpp
@@ -66,28 +66,28 @@ ICQContact::ICQContact( ICQAccount *account, const TQString &name, Kopete::MetaC
else
setOnlineStatus( ICQ::Presence( ICQ::Presence::Offline, ICQ::Presence::Visible ).toOnlineStatus() );
- TQObject::connect( mAccount->engine(), TQT_SIGNAL( loggedIn() ), this, TQT_SLOT( loggedIn() ) );
- //TQObject::connect( mAccount->engine(), TQT_SIGNAL( userIsOnline( const TQString& ) ), this, TQT_SLOT( userOnline( const TQString&, UserDetails ) ) );
- TQObject::connect( mAccount->engine(), TQT_SIGNAL( userIsOffline( const TQString& ) ), this, TQT_SLOT( userOffline( const TQString& ) ) );
- TQObject::connect( mAccount->engine(), TQT_SIGNAL( authRequestReceived( const TQString&, const TQString& ) ),
- this, TQT_SLOT( slotGotAuthRequest( const TQString&, const TQString& ) ) );
- TQObject::connect( mAccount->engine(), TQT_SIGNAL( authReplyReceived( const TQString&, const TQString&, bool ) ),
- this, TQT_SLOT( slotGotAuthReply(const TQString&, const TQString&, bool ) ) );
- TQObject::connect( mAccount->engine(), TQT_SIGNAL( receivedIcqShortInfo( const TQString& ) ),
- this, TQT_SLOT( receivedShortInfo( const TQString& ) ) );
- TQObject::connect( mAccount->engine(), TQT_SIGNAL( receivedIcqLongInfo( const TQString& ) ),
- this, TQT_SLOT( receivedLongInfo( const TQString& ) ) );
- TQObject::connect( mAccount->engine(), TQT_SIGNAL( receivedUserInfo( const TQString&, const UserDetails& ) ),
- this, TQT_SLOT( userInfoUpdated( const TQString&, const UserDetails& ) ) );
- TQObject::connect( mAccount->engine(), TQT_SIGNAL( receivedAwayMessage( const TQString&, const TQString& ) ),
- this, TQT_SLOT( receivedStatusMessage( const TQString&, const TQString& ) ) );
- TQObject::connect( mAccount->engine(), TQT_SIGNAL( receivedAwayMessage( const Oscar::Message& ) ),
- this, TQT_SLOT( receivedStatusMessage( const Oscar::Message& ) ) );
- TQObject::connect( this, TQT_SIGNAL( featuresUpdated() ), this, TQT_SLOT( updateFeatures() ) );
- TQObject::connect( mAccount->engine(), TQT_SIGNAL( iconServerConnected() ),
- this, TQT_SLOT( requestBuddyIcon() ) );
- TQObject::connect( mAccount->engine(), TQT_SIGNAL( haveIconForContact( const TQString&, TQByteArray ) ),
- this, TQT_SLOT( haveIcon( const TQString&, TQByteArray ) ) );
+ TQObject::connect( mAccount->engine(), TQ_SIGNAL( loggedIn() ), this, TQ_SLOT( loggedIn() ) );
+ //TQObject::connect( mAccount->engine(), TQ_SIGNAL( userIsOnline( const TQString& ) ), this, TQ_SLOT( userOnline( const TQString&, UserDetails ) ) );
+ TQObject::connect( mAccount->engine(), TQ_SIGNAL( userIsOffline( const TQString& ) ), this, TQ_SLOT( userOffline( const TQString& ) ) );
+ TQObject::connect( mAccount->engine(), TQ_SIGNAL( authRequestReceived( const TQString&, const TQString& ) ),
+ this, TQ_SLOT( slotGotAuthRequest( const TQString&, const TQString& ) ) );
+ TQObject::connect( mAccount->engine(), TQ_SIGNAL( authReplyReceived( const TQString&, const TQString&, bool ) ),
+ this, TQ_SLOT( slotGotAuthReply(const TQString&, const TQString&, bool ) ) );
+ TQObject::connect( mAccount->engine(), TQ_SIGNAL( receivedIcqShortInfo( const TQString& ) ),
+ this, TQ_SLOT( receivedShortInfo( const TQString& ) ) );
+ TQObject::connect( mAccount->engine(), TQ_SIGNAL( receivedIcqLongInfo( const TQString& ) ),
+ this, TQ_SLOT( receivedLongInfo( const TQString& ) ) );
+ TQObject::connect( mAccount->engine(), TQ_SIGNAL( receivedUserInfo( const TQString&, const UserDetails& ) ),
+ this, TQ_SLOT( userInfoUpdated( const TQString&, const UserDetails& ) ) );
+ TQObject::connect( mAccount->engine(), TQ_SIGNAL( receivedAwayMessage( const TQString&, const TQString& ) ),
+ this, TQ_SLOT( receivedStatusMessage( const TQString&, const TQString& ) ) );
+ TQObject::connect( mAccount->engine(), TQ_SIGNAL( receivedAwayMessage( const Oscar::Message& ) ),
+ this, TQ_SLOT( receivedStatusMessage( const Oscar::Message& ) ) );
+ TQObject::connect( this, TQ_SIGNAL( featuresUpdated() ), this, TQ_SLOT( updateFeatures() ) );
+ TQObject::connect( mAccount->engine(), TQ_SIGNAL( iconServerConnected() ),
+ this, TQ_SLOT( requestBuddyIcon() ) );
+ TQObject::connect( mAccount->engine(), TQ_SIGNAL( haveIconForContact( const TQString&, TQByteArray ) ),
+ this, TQ_SLOT( haveIcon( const TQString&, TQByteArray ) ) );
}
@@ -193,7 +193,7 @@ void ICQContact::userInfoUpdated( const TQString& contact, const UserDetails& de
int time = ( TDEApplication::random() % 10 ) * 1000;
kdDebug(OSCAR_ICQ_DEBUG) << k_funcinfo << "updating buddy icon in "
<< time/1000 << " seconds" << endl;
- TQTimer::singleShot( time, this, TQT_SLOT( requestBuddyIcon() ) );
+ TQTimer::singleShot( time, this, TQ_SLOT( requestBuddyIcon() ) );
}
}
}
@@ -237,7 +237,7 @@ void ICQContact::loggedIn()
m_requestingNickname = true;
int time = ( TDEApplication::random() % 20 ) * 1000;
kdDebug(OSCAR_ICQ_DEBUG) << k_funcinfo << "updating nickname in " << time/1000 << " seconds" << endl;
- TQTimer::singleShot( time, this, TQT_SLOT( requestShortInfo() ) );
+ TQTimer::singleShot( time, this, TQ_SLOT( requestShortInfo() ) );
}
}
@@ -298,7 +298,7 @@ void ICQContact::slotGotAuthRequest( const TQString& contact, const TQString& re
ICQAuthReplyDialog *replyDialog = new ICQAuthReplyDialog();
- connect( replyDialog, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotAuthReplyDialogOkClicked() ) );
+ connect( replyDialog, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotAuthReplyDialogOkClicked() ) );
replyDialog->setUser( property( Kopete::Global::Properties::self()->nickName() ).value().toString() );
replyDialog->setRequestReason( reason );
replyDialog->setModal( TRUE );
@@ -685,12 +685,12 @@ TQPtrList<TDEAction> *ICQContact::customContextMenuActions()
if(actionReadAwayMessage==0)
{
actionReadAwayMessage = new TDEAction(awTxt, awIcn, 0,
- this, TQT_SLOT(slotReadAwayMessage()), this, "actionReadAwayMessage");
+ this, TQ_SLOT(slotReadAwayMessage()), this, "actionReadAwayMessage");
*/
actionRequestAuth = new TDEAction(i18n("&Request Authorization"), "mail-reply-sender", 0,
- this, TQT_SLOT(slotRequestAuth()), this, "actionRequestAuth");
+ this, TQ_SLOT(slotRequestAuth()), this, "actionRequestAuth");
actionSendAuth = new TDEAction(i18n("&Grant Authorization"), "mail-forward", 0,
- this, TQT_SLOT(slotSendAuth()), this, "actionSendAuth");
+ this, TQ_SLOT(slotSendAuth()), this, "actionSendAuth");
/*
}
else
@@ -701,11 +701,11 @@ TQPtrList<TDEAction> *ICQContact::customContextMenuActions()
*/
m_actionIgnore = new TDEToggleAction(i18n("&Ignore"), "", 0,
- this, TQT_SLOT(slotIgnore()), this, "actionIgnore");
+ this, TQ_SLOT(slotIgnore()), this, "actionIgnore");
m_actionVisibleTo = new TDEToggleAction(i18n("Always &Visible To"), "", 0,
- this, TQT_SLOT(slotVisibleTo()), this, "actionVisibleTo");
+ this, TQ_SLOT(slotVisibleTo()), this, "actionVisibleTo");
m_actionInvisibleTo = new TDEToggleAction(i18n("Always &Invisible To"), "", 0,
- this, TQT_SLOT(slotInvisibleTo()), this, "actionInvisibleTo");
+ this, TQ_SLOT(slotInvisibleTo()), this, "actionInvisibleTo");
bool on = account()->isConnected();
if ( m_ssiItem.waitingAuth() )
@@ -717,7 +717,7 @@ TQPtrList<TDEAction> *ICQContact::customContextMenuActions()
m_selectEncoding = new TDEAction( i18n( "Select Encoding..." ), "charset", 0,
- this, TQT_SLOT( changeContactEncoding() ), this, "changeEncoding" );
+ this, TQ_SLOT( changeContactEncoding() ), this, "changeEncoding" );
/*
actionReadAwayMessage->setEnabled(status != OSCAR_OFFLINE && status != OSCAR_ONLINE);
@@ -748,7 +748,7 @@ TQPtrList<TDEAction> *ICQContact::customContextMenuActions()
void ICQContact::slotUserInfo()
{
m_infoWidget = new ICQUserInfoWidget( Kopete::UI::Global::mainWidget(), "icq info" );
- TQObject::connect( m_infoWidget, TQT_SIGNAL( finished() ), this, TQT_SLOT( closeUserInfoDialog() ) );
+ TQObject::connect( m_infoWidget, TQ_SIGNAL( finished() ), this, TQ_SLOT( closeUserInfoDialog() ) );
m_infoWidget->setContact( this );
m_infoWidget->show();
if ( account()->isConnected() )
@@ -768,8 +768,8 @@ void ICQContact::changeContactEncoding()
return;
m_oesd = new OscarEncodingSelectionDialog( Kopete::UI::Global::mainWidget(), property(mProtocol->contactEncoding).value().toInt() );
- connect( m_oesd, TQT_SIGNAL( closing( int ) ),
- this, TQT_SLOT( changeEncodingDialogClosed( int ) ) );
+ connect( m_oesd, TQ_SIGNAL( closing( int ) ),
+ this, TQ_SLOT( changeEncodingDialogClosed( int ) ) );
m_oesd->show();
}
@@ -827,7 +827,7 @@ void ICQContact::slotReadAwayMessage()
awayMessageDialog = new ICQReadAway(this, 0L, "awayMessageDialog");
if(!awayMessageDialog)
return;
- TQObject::connect(awayMessageDialog, TQT_SIGNAL(closing()), this, TQT_SLOT(slotCloseAwayMessageDialog()));
+ TQObject::connect(awayMessageDialog, TQ_SIGNAL(closing()), this, TQ_SLOT(slotCloseAwayMessageDialog()));
awayMessageDialog->show();
}
else
diff --git a/kopete/protocols/oscar/icq/icqreadaway.cpp b/kopete/protocols/oscar/icq/icqreadaway.cpp
index 8686c8d8..361e13d2 100644
--- a/kopete/protocols/oscar/icq/icqreadaway.cpp
+++ b/kopete/protocols/oscar/icq/icqreadaway.cpp
@@ -47,19 +47,19 @@ ICQReadAway::ICQReadAway(ICQContact *c, TQWidget *parent, const char* name)
awayMessageBrowser->setText(mContact->awayMessage());
TQObject::connect(
- awayMessageBrowser, TQT_SIGNAL(urlClick(const TQString&)),
- this, TQT_SLOT(slotUrlClicked(const TQString&)));
+ awayMessageBrowser, TQ_SIGNAL(urlClick(const TQString&)),
+ this, TQ_SLOT(slotUrlClicked(const TQString&)));
TQObject::connect(
- awayMessageBrowser, TQT_SIGNAL(mailClick(const TQString&, const TQString&)),
- this, TQT_SLOT(slotMailClicked(const TQString&, const TQString&)));
+ awayMessageBrowser, TQ_SIGNAL(mailClick(const TQString&, const TQString&)),
+ this, TQ_SLOT(slotMailClicked(const TQString&, const TQString&)));
- connect(this, TQT_SIGNAL(user1Clicked()),
- this, TQT_SLOT(slotFetchAwayMessage()));
- connect(this, TQT_SIGNAL(closeClicked()),
- this, TQT_SLOT(slotCloseClicked()));
+ connect(this, TQ_SIGNAL(user1Clicked()),
+ this, TQ_SLOT(slotFetchAwayMessage()));
+ connect(this, TQ_SIGNAL(closeClicked()),
+ this, TQ_SLOT(slotCloseClicked()));
- connect(c, TQT_SIGNAL(awayMessageChanged()),
- this, TQT_SLOT(slotAwayMessageChanged()));
+ connect(c, TQ_SIGNAL(awayMessageChanged()),
+ this, TQ_SLOT(slotAwayMessageChanged()));
slotFetchAwayMessage();
}
diff --git a/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp b/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
index 687de1b2..022b99a5 100644
--- a/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
+++ b/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
@@ -48,7 +48,7 @@ ICQAddContactPage::ICQAddContactPage(ICQAccount *owner, TQWidget *parent, const
(new TQVBoxLayout(this))->setAutoAdd(true);
addUI = new icqAddUI(this);
- connect( addUI->searchButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( showSearchDialog() ) );
+ connect( addUI->searchButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( showSearchDialog() ) );
}
ICQAddContactPage::~ICQAddContactPage()
@@ -109,7 +109,7 @@ void ICQAddContactPage::showSearchDialog()
{
m_searchDialog = new ICQSearchDialog( mAccount, this, "icqSearchDialog" );
m_searchDialog->show();
- connect( m_searchDialog, TQT_SIGNAL( finished() ), this, TQT_SLOT( searchDialogDestroyed() ) );
+ connect( m_searchDialog, TQ_SIGNAL( finished() ), this, TQ_SLOT( searchDialogDestroyed() ) );
}
}
diff --git a/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp b/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp
index e3b40b3b..17865d36 100644
--- a/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp
+++ b/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp
@@ -99,7 +99,7 @@ ICQEditAccountWidget::ICQEditAccountWidget(ICQProtocol *protocol,
4 );
}
- TQObject::connect(mAccountSettings->buttonRegister, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotOpenRegister()));
+ TQObject::connect(mAccountSettings->buttonRegister, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotOpenRegister()));
/* Set tab order to password custom widget correctly */
TQWidget::setTabOrder( mAccountSettings->edtAccountId, mAccountSettings->mPasswordWidget->mRemembered );
diff --git a/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp b/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp
index 9a212447..ec1e7e55 100644
--- a/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp
+++ b/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp
@@ -47,14 +47,14 @@ ICQSearchDialog::ICQSearchDialog( ICQAccount* account, TQWidget* parent, const c
m_account = account;
m_searchUI = new ICQSearchBase( this, name );
setMainWidget( m_searchUI );
- connect( m_searchUI->searchButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( startSearch() ) );
- connect( m_searchUI->searchResults, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( resultSelectionChanged() ) );
- connect( m_searchUI->addButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( addContact() ) );
- connect( m_searchUI->clearButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( clearResults() ) );
- connect( m_searchUI->stopButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( stopSearch() ) );
- connect( m_searchUI->closeButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( closeDialog() ) );
- connect( m_searchUI->userInfoButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( userInfo() ) );
- connect( m_searchUI->newSearchButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( newSearch() ) );
+ connect( m_searchUI->searchButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( startSearch() ) );
+ connect( m_searchUI->searchResults, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( resultSelectionChanged() ) );
+ connect( m_searchUI->addButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addContact() ) );
+ connect( m_searchUI->clearButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( clearResults() ) );
+ connect( m_searchUI->stopButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( stopSearch() ) );
+ connect( m_searchUI->closeButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( closeDialog() ) );
+ connect( m_searchUI->userInfoButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( userInfo() ) );
+ connect( m_searchUI->newSearchButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( newSearch() ) );
ICQProtocol *p = ICQProtocol::protocol();
p->fillComboFromTable( m_searchUI->gender, p->genders() );
@@ -91,10 +91,10 @@ void ICQSearchDialog::startSearch()
m_searchUI->searchButton->setEnabled( false );
m_searchUI->newSearchButton->setEnabled( false );
- connect( m_account->engine(), TQT_SIGNAL( gotSearchResults( const ICQSearchResult& ) ),
- this, TQT_SLOT( newResult( const ICQSearchResult& ) ) );
- connect( m_account->engine(), TQT_SIGNAL( endOfSearch( int ) ),
- this, TQT_SLOT( searchFinished( int ) ) );
+ connect( m_account->engine(), TQ_SIGNAL( gotSearchResults( const ICQSearchResult& ) ),
+ this, TQ_SLOT( newResult( const ICQSearchResult& ) ) );
+ connect( m_account->engine(), TQ_SIGNAL( endOfSearch( int ) ),
+ this, TQ_SLOT( searchFinished( int ) ) );
const TQWidget* currentPage = m_searchUI->tabWidget3->currentPage();
@@ -159,10 +159,10 @@ void ICQSearchDialog::startSearch()
void ICQSearchDialog::stopSearch()
{
- disconnect( m_account->engine(), TQT_SIGNAL( gotSearchResults( const ICQSearchResult& ) ),
- this, TQT_SLOT( newResult( const ICQSearchResult& ) ) );
- disconnect( m_account->engine(), TQT_SIGNAL( endOfSearch( int ) ),
- this, TQT_SLOT( searchFinished( int ) ) );
+ disconnect( m_account->engine(), TQ_SIGNAL( gotSearchResults( const ICQSearchResult& ) ),
+ this, TQ_SLOT( newResult( const ICQSearchResult& ) ) );
+ disconnect( m_account->engine(), TQ_SIGNAL( endOfSearch( int ) ),
+ this, TQ_SLOT( searchFinished( int ) ) );
m_searchUI->stopButton->setEnabled( false );
m_searchUI->searchButton->setEnabled( true );
@@ -203,7 +203,7 @@ void ICQSearchDialog::userInfo()
NULL);
m_infoWidget = new ICQUserInfoWidget( Kopete::UI::Global::mainWidget(), "icq info" );
- TQObject::connect( m_infoWidget, TQT_SIGNAL( finished() ), this, TQT_SLOT( closeUserInfo() ) );
+ TQObject::connect( m_infoWidget, TQ_SIGNAL( finished() ), this, TQ_SLOT( closeUserInfo() ) );
m_infoWidget->setContact( m_contact );
m_infoWidget->setModal(true);
diff --git a/kopete/protocols/oscar/icq/ui/icquserinfowidget.cpp b/kopete/protocols/oscar/icq/ui/icquserinfowidget.cpp
index 4126a3ec..aa793b62 100644
--- a/kopete/protocols/oscar/icq/ui/icquserinfowidget.cpp
+++ b/kopete/protocols/oscar/icq/ui/icquserinfowidget.cpp
@@ -78,16 +78,16 @@ ICQUserInfoWidget::ICQUserInfoWidget( TQWidget * parent, const char * name )
void ICQUserInfoWidget::setContact( ICQContact* contact )
{
m_contact = contact;
- TQObject::connect( contact, TQT_SIGNAL( haveBasicInfo( const ICQGeneralUserInfo& ) ),
- this, TQT_SLOT( fillBasicInfo( const ICQGeneralUserInfo& ) ) );
- TQObject::connect( contact, TQT_SIGNAL( haveWorkInfo( const ICQWorkUserInfo& ) ),
- this, TQT_SLOT( fillWorkInfo( const ICQWorkUserInfo& ) ) );
- TQObject::connect( contact, TQT_SIGNAL( haveEmailInfo( const ICQEmailInfo& ) ),
- this, TQT_SLOT( fillEmailInfo( const ICQEmailInfo& ) ) );
- TQObject::connect( contact, TQT_SIGNAL( haveMoreInfo( const ICQMoreUserInfo& ) ),
- this, TQT_SLOT( fillMoreInfo( const ICQMoreUserInfo& ) ) );
- TQObject::connect( contact, TQT_SIGNAL( haveInterestInfo( const ICQInterestInfo& ) ),
- this, TQT_SLOT( fillInterestInfo( const ICQInterestInfo& ) ) );
+ TQObject::connect( contact, TQ_SIGNAL( haveBasicInfo( const ICQGeneralUserInfo& ) ),
+ this, TQ_SLOT( fillBasicInfo( const ICQGeneralUserInfo& ) ) );
+ TQObject::connect( contact, TQ_SIGNAL( haveWorkInfo( const ICQWorkUserInfo& ) ),
+ this, TQ_SLOT( fillWorkInfo( const ICQWorkUserInfo& ) ) );
+ TQObject::connect( contact, TQ_SIGNAL( haveEmailInfo( const ICQEmailInfo& ) ),
+ this, TQ_SLOT( fillEmailInfo( const ICQEmailInfo& ) ) );
+ TQObject::connect( contact, TQ_SIGNAL( haveMoreInfo( const ICQMoreUserInfo& ) ),
+ this, TQ_SLOT( fillMoreInfo( const ICQMoreUserInfo& ) ) );
+ TQObject::connect( contact, TQ_SIGNAL( haveInterestInfo( const ICQInterestInfo& ) ),
+ this, TQ_SLOT( fillInterestInfo( const ICQInterestInfo& ) ) );
}
void ICQUserInfoWidget::fillBasicInfo( const ICQGeneralUserInfo& ui )