summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopetecontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/kopetecontact.cpp')
-rw-r--r--kopete/libkopete/kopetecontact.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kopete/libkopete/kopetecontact.cpp b/kopete/libkopete/kopetecontact.cpp
index 35520c83..8606daa0 100644
--- a/kopete/libkopete/kopetecontact.cpp
+++ b/kopete/libkopete/kopetecontact.cpp
@@ -98,7 +98,7 @@ Contact::Contact( Account *account, const TQString &contactId,
if ( account )
{
account->registerContact( this );
- connect( account, TQT_SIGNAL( isConnectedChanged() ), TQT_SLOT( slotAccountIsConnectedChanged() ) );
+ connect( account, TQ_SIGNAL( isConnectedChanged() ), TQ_SLOT( slotAccountIsConnectedChanged() ) );
}
// Need to check this because myself() may have no parent
@@ -106,8 +106,8 @@ Contact::Contact( Account *account, const TQString &contactId,
// (ex: for unit tests or chat window style preview)
if( parent && protocol() )
{
- connect( parent, TQT_SIGNAL( aboutToSave( Kopete::MetaContact * ) ),
- protocol(), TQT_SLOT( slotMetaContactAboutToSave( Kopete::MetaContact * ) ) );
+ connect( parent, TQ_SIGNAL( aboutToSave( Kopete::MetaContact * ) ),
+ protocol(), TQ_SLOT( slotMetaContactAboutToSave( Kopete::MetaContact * ) ) );
parent->addContact( this );
}
@@ -210,7 +210,7 @@ TDEPopupMenu* Contact::popupMenu( ChatSession *manager )
if( metaContact() && metaContact()->isTemporary() && contactId() != account()->myself()->contactId() )
{
TDEAction *actionAddContact = new TDEAction( i18n( "&Add to Your Contact List" ), TQString::fromLatin1( "add_user" ),
- 0, this, TQT_SLOT( slotAddContact() ), menu, "actionAddContact" );
+ 0, this, TQ_SLOT( slotAddContact() ), menu, "actionAddContact" );
actionAddContact->plug( menu );
menu->insertSeparator();
}
@@ -219,15 +219,15 @@ TDEPopupMenu* Contact::popupMenu( ChatSession *manager )
bool reach = account()->isConnected() && isReachable();
bool myself = (this == account()->myself());
- TDEAction *actionSendMessage = KopeteStdAction::sendMessage( this, TQT_SLOT( sendMessage() ), menu, "actionSendMessage" );
+ TDEAction *actionSendMessage = KopeteStdAction::sendMessage( this, TQ_SLOT( sendMessage() ), menu, "actionSendMessage" );
actionSendMessage->setEnabled( reach && !myself );
actionSendMessage->plug( menu );
- TDEAction *actionChat = KopeteStdAction::chat( this, TQT_SLOT( startChat() ), menu, "actionChat" );
+ TDEAction *actionChat = KopeteStdAction::chat( this, TQ_SLOT( startChat() ), menu, "actionChat" );
actionChat->setEnabled( reach && !myself );
actionChat->plug( menu );
- TDEAction *actionSendFile = KopeteStdAction::sendFile( this, TQT_SLOT( sendFile() ), menu, "actionSendFile" );
+ TDEAction *actionSendFile = KopeteStdAction::sendFile( this, TQ_SLOT( sendFile() ), menu, "actionSendFile" );
actionSendFile->setEnabled( reach && d->fileCapable && !myself );
actionSendFile->plug( menu );
@@ -248,19 +248,19 @@ TDEPopupMenu* Contact::popupMenu( ChatSession *manager )
menu->insertSeparator();
if( metaContact() && !metaContact()->isTemporary() )
- KopeteStdAction::changeMetaContact( this, TQT_SLOT( changeMetaContact() ), menu, "actionChangeMetaContact" )->plug( menu );
+ KopeteStdAction::changeMetaContact( this, TQ_SLOT( changeMetaContact() ), menu, "actionChangeMetaContact" )->plug( menu );
- KopeteStdAction::contactInfo( this, TQT_SLOT( slotUserInfo() ), menu, "actionUserInfo" )->plug( menu );
+ KopeteStdAction::contactInfo( this, TQ_SLOT( slotUserInfo() ), menu, "actionUserInfo" )->plug( menu );
#if 0 //this is not fully implemented yet (and doesn't work). disable for now - Olivier 2005-01-11
if ( account()->isBlocked( d->contactId ) )
- KopeteStdAction::unblockContact( this, TQT_SLOT( slotUnblock() ), menu, "actionUnblockContact" )->plug( menu );
+ KopeteStdAction::unblockContact( this, TQ_SLOT( slotUnblock() ), menu, "actionUnblockContact" )->plug( menu );
else
- KopeteStdAction::blockContact( this, TQT_SLOT( slotBlock() ), menu, "actionBlockContact" )->plug( menu );
+ KopeteStdAction::blockContact( this, TQ_SLOT( slotBlock() ), menu, "actionBlockContact" )->plug( menu );
#endif
if( metaContact() && !metaContact()->isTemporary() )
- KopeteStdAction::deleteContact( this, TQT_SLOT( slotDelete() ), menu, "actionDeleteContact" )->plug( menu );
+ KopeteStdAction::deleteContact( this, TQ_SLOT( slotDelete() ), menu, "actionDeleteContact" )->plug( menu );
return menu;
}
@@ -279,7 +279,7 @@ void Contact::changeMetaContact()
TQCheckBox *chkCreateNew = new TQCheckBox( i18n( "Create a new metacontact for this contact" ), w );
TQWhatsThis::add( chkCreateNew , i18n( "If you select this option, a new metacontact will be created in the top-level group "
"with the name of this contact and the contact will be moved to it." ) );
- TQObject::connect( chkCreateNew , TQT_SIGNAL( toggled(bool) ) , selector , TQT_SLOT ( setDisabled(bool) ) ) ;
+ TQObject::connect( chkCreateNew , TQ_SIGNAL( toggled(bool) ) , selector , TQ_SLOT ( setDisabled(bool) ) ) ;
moveDialog->setMainWidget(w);
if( moveDialog->exec() == TQDialog::Accepted )
@@ -320,8 +320,8 @@ void Contact::setMetaContact( MetaContact *m )
return;
}
old->removeContact( this );
- disconnect( old, TQT_SIGNAL( aboutToSave( Kopete::MetaContact * ) ),
- protocol(), TQT_SLOT( slotMetaContactAboutToSave( Kopete::MetaContact * ) ) );
+ disconnect( old, TQ_SIGNAL( aboutToSave( Kopete::MetaContact * ) ),
+ protocol(), TQ_SLOT( slotMetaContactAboutToSave( Kopete::MetaContact * ) ) );
if(result==KMessageBox::Yes)
{
@@ -346,8 +346,8 @@ void Contact::setMetaContact( MetaContact *m )
// between adding completely new contacts (which should be written to tdeabc) and restoring upon restart
// (where no write is needed).
KABCPersistence::self()->write( m );
- connect( d->metaContact, TQT_SIGNAL( aboutToSave( Kopete::MetaContact * ) ),
- protocol(), TQT_SLOT( slotMetaContactAboutToSave( Kopete::MetaContact * ) ) );
+ connect( d->metaContact, TQ_SIGNAL( aboutToSave( Kopete::MetaContact * ) ),
+ protocol(), TQ_SLOT( slotMetaContactAboutToSave( Kopete::MetaContact * ) ) );
}
sync();
}