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.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kopete/libkopete/kopetecontact.cpp b/kopete/libkopete/kopetecontact.cpp
index 85387709..28266e28 100644
--- a/kopete/libkopete/kopetecontact.cpp
+++ b/kopete/libkopete/kopetecontact.cpp
@@ -193,10 +193,10 @@ void Contact::slotAddContact()
}
}
-KPopupMenu* Contact::popupMenu( ChatSession *manager )
+TDEPopupMenu* Contact::popupMenu( ChatSession *manager )
{
// Build the menu
- KPopupMenu *menu = new KPopupMenu();
+ TDEPopupMenu *menu = new TDEPopupMenu();
// insert title
TQString titleText;
@@ -209,7 +209,7 @@ KPopupMenu* Contact::popupMenu( ChatSession *manager )
if( metaContact() && metaContact()->isTemporary() && contactId() != account()->myself()->contactId() )
{
- KAction *actionAddContact = new KAction( i18n( "&Add to Your Contact List" ), TQString::fromLatin1( "add_user" ),
+ TDEAction *actionAddContact = new TDEAction( i18n( "&Add to Your Contact List" ), TQString::fromLatin1( "add_user" ),
0, TQT_TQOBJECT(this), TQT_SLOT( slotAddContact() ), TQT_TQOBJECT(menu), "actionAddContact" );
actionAddContact->plug( menu );
menu->insertSeparator();
@@ -219,15 +219,15 @@ KPopupMenu* Contact::popupMenu( ChatSession *manager )
bool reach = account()->isConnected() && isReachable();
bool myself = (this == account()->myself());
- KAction *actionSendMessage = KopeteStdAction::sendMessage( TQT_TQOBJECT(this), TQT_SLOT( sendMessage() ), TQT_TQOBJECT(menu), "actionSendMessage" );
+ TDEAction *actionSendMessage = KopeteStdAction::sendMessage( TQT_TQOBJECT(this), TQT_SLOT( sendMessage() ), TQT_TQOBJECT(menu), "actionSendMessage" );
actionSendMessage->setEnabled( reach && !myself );
actionSendMessage->plug( menu );
- KAction *actionChat = KopeteStdAction::chat( TQT_TQOBJECT(this), TQT_SLOT( startChat() ), TQT_TQOBJECT(menu), "actionChat" );
+ TDEAction *actionChat = KopeteStdAction::chat( TQT_TQOBJECT(this), TQT_SLOT( startChat() ), TQT_TQOBJECT(menu), "actionChat" );
actionChat->setEnabled( reach && !myself );
actionChat->plug( menu );
- KAction *actionSendFile = KopeteStdAction::sendFile( TQT_TQOBJECT(this), TQT_SLOT( sendFile() ), TQT_TQOBJECT(menu), "actionSendFile" );
+ TDEAction *actionSendFile = KopeteStdAction::sendFile( TQT_TQOBJECT(this), TQT_SLOT( sendFile() ), TQT_TQOBJECT(menu), "actionSendFile" );
actionSendFile->setEnabled( reach && d->fileCapable && !myself );
actionSendFile->plug( menu );
@@ -235,12 +235,12 @@ KPopupMenu* Contact::popupMenu( ChatSession *manager )
// through the use of the customContextMenuActions() function
// Get the custom actions from the protocols ( pure virtual function )
- TQPtrList<KAction> *customActions = customContextMenuActions( manager );
+ TQPtrList<TDEAction> *customActions = customContextMenuActions( manager );
if( customActions && !customActions->isEmpty() )
{
menu->insertSeparator();
- for( KAction *a = customActions->first(); a; a = customActions->next() )
+ for( TDEAction *a = customActions->first(); a; a = customActions->next() )
a->plug( menu );
}
delete customActions;
@@ -511,12 +511,12 @@ void Contact::setIcon( const TQString& icon )
return;
}
-TQPtrList<KAction> *Contact::customContextMenuActions()
+TQPtrList<TDEAction> *Contact::customContextMenuActions()
{
return 0L;
}
-TQPtrList<KAction> *Contact::customContextMenuActions( ChatSession * /* manager */ )
+TQPtrList<TDEAction> *Contact::customContextMenuActions( ChatSession * /* manager */ )
{
return customContextMenuActions();
}