summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/dictionarymenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/dictionarymenu.cpp')
-rw-r--r--kbabel/kbabeldict/dictionarymenu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbabel/kbabeldict/dictionarymenu.cpp b/kbabel/kbabeldict/dictionarymenu.cpp
index 759468c9..57b7d9d7 100644
--- a/kbabel/kbabeldict/dictionarymenu.cpp
+++ b/kbabel/kbabeldict/dictionarymenu.cpp
@@ -38,7 +38,7 @@
#include <tqsignalmapper.h>
-DictionaryMenu::DictionaryMenu(KPopupMenu *popupMenu, KActionCollection *collection
+DictionaryMenu::DictionaryMenu(TDEPopupMenu *popupMenu, TDEActionCollection *collection
, TQObject *parent)
: TQObject(parent, "dictionarymenu")
, popup(popupMenu)
@@ -89,7 +89,7 @@ void DictionaryMenu::add(const TQString& name, const TQString& moduleId)
{
if(popup)
{
- KAction* dictionaryAction = new KAction( name, 0, dictionaryMapper, TQT_SLOT(map()), actionCollection, moduleId.utf8() );
+ TDEAction* dictionaryAction = new TDEAction( name, 0, dictionaryMapper, TQT_SLOT(map()), actionCollection, moduleId.utf8() );
uint id = maxId++;
dictionaryAction->plug(popup, id);
@@ -114,9 +114,9 @@ void DictionaryMenu::add(const TQString& n, const TQString& moduleId
{
keyString=key.arg(accel2id.count()+1);
}
- KShortcut k(keyString);
+ TDEShortcut k(keyString);
- KAction* dictionaryAction = new KAction( name, k, dictionaryMapper, TQT_SLOT(map()), actionCollection, key.arg(moduleId).utf8() );
+ TDEAction* dictionaryAction = new TDEAction( name, k, dictionaryMapper, TQT_SLOT(map()), actionCollection, key.arg(moduleId).utf8() );
uint id = maxId++;
dictionaryAction->plug(popup,id);