diff options
Diffstat (limited to 'kopete/plugins/cryptography/cryptographyplugin.cpp')
-rw-r--r-- | kopete/plugins/cryptography/cryptographyplugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/plugins/cryptography/cryptographyplugin.cpp b/kopete/plugins/cryptography/cryptographyplugin.cpp index 06412936..1085da9c 100644 --- a/kopete/plugins/cryptography/cryptographyplugin.cpp +++ b/kopete/plugins/cryptography/cryptographyplugin.cpp @@ -68,7 +68,7 @@ CryptographyPlugin::CryptographyPlugin( TQObject *parent, const char *name, cons TQObject::connect(m_cachedPass_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotForgetCachedPass() )); - KAction *action=new KAction( i18n("&Select Cryptography Public Key..."), "encrypted", 0, this, TQT_SLOT (slotSelectContactKey()), actionCollection() , "contactSelectKey"); + TDEAction *action=new TDEAction( i18n("&Select Cryptography Public Key..."), "encrypted", 0, this, TQT_SLOT (slotSelectContactKey()), actionCollection() , "contactSelectKey"); connect ( Kopete::ContactList::self() , TQT_SIGNAL( metaContactSelected(bool)) , action , TQT_SLOT(setEnabled(bool))); action->setEnabled(Kopete::ContactList::self()->selectedMetaContacts().count()==1 ); @@ -138,12 +138,12 @@ bool CryptographyPlugin::passphraseHandling() } -/*KActionCollection *CryptographyPlugin::customChatActions(Kopete::ChatSession *KMM) +/*TDEActionCollection *CryptographyPlugin::customChatActions(Kopete::ChatSession *KMM) { delete m_actionCollection; - m_actionCollection = new KActionCollection(this); - KAction *actionTranslate = new KAction( i18n ("Translate"), 0, + m_actionCollection = new TDEActionCollection(this); + TDEAction *actionTranslate = new TDEAction( i18n ("Translate"), 0, this, TQT_SLOT( slotTranslateChat() ), m_actionCollection, "actionTranslate" ); m_actionCollection->insert( actionTranslate ); |