summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopeteaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/kopeteaccount.cpp')
-rw-r--r--kopete/libkopete/kopeteaccount.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/libkopete/kopeteaccount.cpp b/kopete/libkopete/kopeteaccount.cpp
index ac072f40..4eb70efe 100644
--- a/kopete/libkopete/kopeteaccount.cpp
+++ b/kopete/libkopete/kopeteaccount.cpp
@@ -96,8 +96,8 @@ Account::Account( Protocol *parent, const TQString &accountId, const char *name
d->restoreStatus = Kopete::OnlineStatus::Online;
d->restoreMessage = "";
- TQObject::connect( &d->suppressStatusTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( slotStopSuppression() ) );
+ TQObject::connect( &d->suppressStatusTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( slotStopSuppression() ) );
}
Account::~Account()
@@ -128,14 +128,14 @@ void Account::disconnected( DisconnectReason reason )
//reconnect if needed
if(reason == BadPassword )
{
- TQTimer::singleShot(0, this, TQT_SLOT(reconnect()));
+ TQTimer::singleShot(0, this, TQ_SLOT(reconnect()));
}
else if ( KopetePrefs::prefs()->reconnectOnDisconnect() == true && reason > Manual )
{
d->connectionTry++;
//use a timer to allow the plugins to clean up after return
if(d->connectionTry < 3)
- TQTimer::singleShot(10000, this, TQT_SLOT(reconnect())); // wait 10 seconds before reconnect
+ TQTimer::singleShot(10000, this, TQ_SLOT(reconnect())); // wait 10 seconds before reconnect
}
if(reason== OtherClient)
{
@@ -233,8 +233,8 @@ bool Account::excludeConnect() const
void Account::registerContact( Contact *c )
{
d->contacts.insert( c->contactId(), c );
- TQObject::connect( c, TQT_SIGNAL( contactDestroyed( Kopete::Contact * ) ),
- TQT_SLOT( contactDestroyed( Kopete::Contact * ) ) );
+ TQObject::connect( c, TQ_SIGNAL( contactDestroyed( Kopete::Contact * ) ),
+ TQ_SLOT( contactDestroyed( Kopete::Contact * ) ) );
}
void Account::contactDestroyed( Contact *c )
@@ -370,7 +370,7 @@ TDEActionMenu * Account::actionMenu()
OnlineStatusManager::self()->createAccountStatusActions(this, menu);
menu->popupMenu()->insertSeparator();
- menu->insert( new TDEAction ( i18n( "Properties" ), 0, this, TQT_SLOT( editAccount() ), menu, "actionAccountProperties" ) );
+ menu->insert( new TDEAction ( i18n( "Properties" ), 0, this, TQ_SLOT( editAccount() ), menu, "actionAccountProperties" ) );
return menu;
}
@@ -397,20 +397,20 @@ void Account::setMyself( Contact *myself )
if ( d->myself )
{
- TQObject::disconnect( d->myself, TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
- this, TQT_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
- TQObject::disconnect( d->myself, TQT_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ),
- this, TQT_SLOT( slotContactPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) );
+ TQObject::disconnect( d->myself, TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
+ this, TQ_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
+ TQObject::disconnect( d->myself, TQ_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ),
+ this, TQ_SLOT( slotContactPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) );
}
d->myself = myself;
// d->contacts.remove( myself->contactId() );
- TQObject::connect( d->myself, TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
- this, TQT_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
- TQObject::connect( d->myself, TQT_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ),
- this, TQT_SLOT( slotContactPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) );
+ TQObject::connect( d->myself, TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
+ this, TQ_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
+ TQObject::connect( d->myself, TQ_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ),
+ this, TQ_SLOT( slotContactPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) );
if ( isConnected() != wasConnected )
emit isConnectedChanged();