summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/icq/icqcontact.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
commit9c9412b30c54468adc9e506cc76c5d113fbf5056 (patch)
tree68a0c0d5bc770fc58596b8c5624cdf33d8625027 /kopete/protocols/oscar/icq/icqcontact.cpp
parent2e53bd0b77676f879fad7baeecea5879bf496a7d (diff)
downloadtdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.tar.gz
tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kopete/protocols/oscar/icq/icqcontact.cpp')
-rw-r--r--kopete/protocols/oscar/icq/icqcontact.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/protocols/oscar/icq/icqcontact.cpp b/kopete/protocols/oscar/icq/icqcontact.cpp
index c54e4ffb..19d2ee7f 100644
--- a/kopete/protocols/oscar/icq/icqcontact.cpp
+++ b/kopete/protocols/oscar/icq/icqcontact.cpp
@@ -649,9 +649,9 @@ bool ICQContact::isReachable()
return account()->isConnected();
}
-TQPtrList<KAction> *ICQContact::customContextMenuActions()
+TQPtrList<TDEAction> *ICQContact::customContextMenuActions()
{
- TQPtrList<KAction> *actionCollection = new TQPtrList<KAction>();
+ TQPtrList<TDEAction> *actionCollection = new TQPtrList<TDEAction>();
/*
TQString awTxt;
TQString awIcn;
@@ -684,12 +684,12 @@ TQPtrList<KAction> *ICQContact::customContextMenuActions()
if(actionReadAwayMessage==0)
{
- actionReadAwayMessage = new KAction(awTxt, awIcn, 0,
+ actionReadAwayMessage = new TDEAction(awTxt, awIcn, 0,
this, TQT_SLOT(slotReadAwayMessage()), this, "actionReadAwayMessage");
*/
- actionRequestAuth = new KAction(i18n("&Request Authorization"), "mail_reply", 0,
+ actionRequestAuth = new TDEAction(i18n("&Request Authorization"), "mail_reply", 0,
this, TQT_SLOT(slotRequestAuth()), this, "actionRequestAuth");
- actionSendAuth = new KAction(i18n("&Grant Authorization"), "mail_forward", 0,
+ actionSendAuth = new TDEAction(i18n("&Grant Authorization"), "mail_forward", 0,
this, TQT_SLOT(slotSendAuth()), this, "actionSendAuth");
/*
}
@@ -700,11 +700,11 @@ TQPtrList<KAction> *ICQContact::customContextMenuActions()
}
*/
- m_actionIgnore = new KToggleAction(i18n("&Ignore"), "", 0,
+ m_actionIgnore = new TDEToggleAction(i18n("&Ignore"), "", 0,
this, TQT_SLOT(slotIgnore()), this, "actionIgnore");
- m_actionVisibleTo = new KToggleAction(i18n("Always &Visible To"), "", 0,
+ m_actionVisibleTo = new TDEToggleAction(i18n("Always &Visible To"), "", 0,
this, TQT_SLOT(slotVisibleTo()), this, "actionVisibleTo");
- m_actionInvisibleTo = new KToggleAction(i18n("Always &Invisible To"), "", 0,
+ m_actionInvisibleTo = new TDEToggleAction(i18n("Always &Invisible To"), "", 0,
this, TQT_SLOT(slotInvisibleTo()), this, "actionInvisibleTo");
bool on = account()->isConnected();
@@ -716,7 +716,7 @@ TQPtrList<KAction> *ICQContact::customContextMenuActions()
actionSendAuth->setEnabled(on);
- m_selectEncoding = new KAction( i18n( "Select Encoding..." ), "charset", 0,
+ m_selectEncoding = new TDEAction( i18n( "Select Encoding..." ), "charset", 0,
this, TQT_SLOT( changeContactEncoding() ), this, "changeEncoding" );
/*