diff options
Diffstat (limited to 'konq-plugins/babelfish/plugin_babelfish.cpp')
-rw-r--r-- | konq-plugins/babelfish/plugin_babelfish.cpp | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/konq-plugins/babelfish/plugin_babelfish.cpp b/konq-plugins/babelfish/plugin_babelfish.cpp index a575396..98c37c6 100644 --- a/konq-plugins/babelfish/plugin_babelfish.cpp +++ b/konq-plugins/babelfish/plugin_babelfish.cpp @@ -40,123 +40,123 @@ PluginBabelFish::PluginBabelFish( TQObject* parent, const char* name, { setInstance(BabelFishFactory::instance()); - m_menu = new KActionMenu( i18n("Translate Web &Page"), "babelfish", + m_menu = new TDEActionMenu( i18n("Translate Web &Page"), "babelfish", actionCollection(), "translatewebpage" ); m_menu->setDelayed( false ); - m_en = new KActionMenu( i18n("&English To"), "babelfish", + m_en = new TDEActionMenu( i18n("&English To"), "babelfish", actionCollection(), "translatewebpage_en" ); - m_fr = new KActionMenu( i18n("&French To"), "babelfish", + m_fr = new TDEActionMenu( i18n("&French To"), "babelfish", actionCollection(), "translatewebpage_fr" ); - m_de = new KActionMenu( i18n("&German To"), "babelfish", + m_de = new TDEActionMenu( i18n("&German To"), "babelfish", actionCollection(), "translatewebpage_de" ); - m_es = new KActionMenu( i18n("&Spanish To"), "babelfish", + m_es = new TDEActionMenu( i18n("&Spanish To"), "babelfish", actionCollection(), "translatewebpage_es" ); - m_pt = new KActionMenu( i18n("&Portuguese To"), "babelfish", + m_pt = new TDEActionMenu( i18n("&Portuguese To"), "babelfish", actionCollection(), "translatewebpage_pt" ); - m_it = new KActionMenu( i18n("&Italian To"), "babelfish", + m_it = new TDEActionMenu( i18n("&Italian To"), "babelfish", actionCollection(), "translatewebpage_it" ); - m_nl = new KActionMenu( i18n("&Dutch To"), "babelfish", + m_nl = new TDEActionMenu( i18n("&Dutch To"), "babelfish", actionCollection(), "translatewebpage_nl" ); - m_en->insert( new KAction( i18n("&Chinese (Simplified)"), 0, + m_en->insert( new TDEAction( i18n("&Chinese (Simplified)"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_zh") ); - m_en->insert( new KAction( i18n("Chinese (&Traditional)"), 0, + m_en->insert( new TDEAction( i18n("Chinese (&Traditional)"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_zhTW") ); - m_en->insert( new KAction( i18n("&Dutch"), 0, + m_en->insert( new TDEAction( i18n("&Dutch"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_nl") ); - m_en->insert( new KAction( i18n("&French"), 0, + m_en->insert( new TDEAction( i18n("&French"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_fr") ); - m_en->insert( new KAction( i18n("&German"), 0, + m_en->insert( new TDEAction( i18n("&German"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_de") ); - m_en->insert( new KAction( i18n("&Italian"), 0, + m_en->insert( new TDEAction( i18n("&Italian"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_it") ); - m_en->insert( new KAction( i18n("&Japanese"), 0, + m_en->insert( new TDEAction( i18n("&Japanese"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_ja") ); - m_en->insert( new KAction( i18n("&Korean"), 0, + m_en->insert( new TDEAction( i18n("&Korean"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_ko") ); - m_en->insert( new KAction( i18n("&Norwegian"), 0, + m_en->insert( new TDEAction( i18n("&Norwegian"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_no") ); - m_en->insert( new KAction( i18n("&Portuguese"), 0, + m_en->insert( new TDEAction( i18n("&Portuguese"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_pt") ); - m_en->insert( new KAction( i18n("&Russian"), 0, + m_en->insert( new TDEAction( i18n("&Russian"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_ru") ); - m_en->insert( new KAction( i18n("&Spanish"), 0, + m_en->insert( new TDEAction( i18n("&Spanish"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_es") ); - m_en->insert( new KAction( i18n("T&hai"), 0, + m_en->insert( new TDEAction( i18n("T&hai"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "en_th") ); - m_fr->insert( new KAction( i18n("&Dutch"), 0, + m_fr->insert( new TDEAction( i18n("&Dutch"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "fr_nl") ); - m_fr->insert( new KAction( i18n("&English"), 0, + m_fr->insert( new TDEAction( i18n("&English"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "fr_en") ); - m_fr->insert( new KAction( i18n("&German"), 0, + m_fr->insert( new TDEAction( i18n("&German"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "fr_de") ); - m_fr->insert( new KAction( i18n("&Italian"), 0, + m_fr->insert( new TDEAction( i18n("&Italian"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "fr_it") ); - m_fr->insert( new KAction( i18n("&Portuguese"), 0, + m_fr->insert( new TDEAction( i18n("&Portuguese"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "fr_pt") ); - m_fr->insert( new KAction( i18n("&Spanish"), 0, + m_fr->insert( new TDEAction( i18n("&Spanish"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "fr_es") ); - m_de->insert( new KAction( i18n("&English"), 0, + m_de->insert( new TDEAction( i18n("&English"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "de_en") ); - m_de->insert( new KAction( i18n("&French"), 0, + m_de->insert( new TDEAction( i18n("&French"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "de_fr") ); - m_es->insert( new KAction( i18n("&English"), 0, + m_es->insert( new TDEAction( i18n("&English"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "es_en") ); - m_es->insert( new KAction( i18n("&French"), 0, + m_es->insert( new TDEAction( i18n("&French"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "es_fr") ); - m_pt->insert( new KAction( i18n("&English"), 0, + m_pt->insert( new TDEAction( i18n("&English"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "pt_en") ); - m_pt->insert( new KAction( i18n("&French"), 0, + m_pt->insert( new TDEAction( i18n("&French"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "pt_fr") ); - m_it->insert( new KAction( i18n("&English"), 0, + m_it->insert( new TDEAction( i18n("&English"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "it_en") ); - m_it->insert( new KAction( i18n("&French"), 0, + m_it->insert( new TDEAction( i18n("&French"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "it_fr") ); - m_nl->insert( new KAction( i18n("&English"), 0, + m_nl->insert( new TDEAction( i18n("&English"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "nl_en") ); - m_nl->insert( new KAction( i18n("&French"), 0, + m_nl->insert( new TDEAction( i18n("&French"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "nl_fr") ); - m_menu->insert( new KAction( i18n("&Chinese (Simplified) to English"), 0, + m_menu->insert( new TDEAction( i18n("&Chinese (Simplified) to English"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "zh_en") ); - m_menu->insert( new KAction( i18n("Chinese (&Traditional) to English"), 0, + m_menu->insert( new TDEAction( i18n("Chinese (&Traditional) to English"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "zhTW_en") ); m_menu->insert( m_nl ); @@ -164,14 +164,14 @@ PluginBabelFish::PluginBabelFish( TQObject* parent, const char* name, m_menu->insert( m_fr ); m_menu->insert( m_de ); m_menu->insert( m_it ); - m_menu->insert( new KAction( i18n("&Japanese to English"), 0, + m_menu->insert( new TDEAction( i18n("&Japanese to English"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "ja_en") ); - m_menu->insert( new KAction( i18n("&Korean to English"), 0, + m_menu->insert( new TDEAction( i18n("&Korean to English"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "ko_en") ); m_menu->insert( m_pt ); - m_menu->insert( new KAction( i18n("&Russian to English"), 0, + m_menu->insert( new TDEAction( i18n("&Russian to English"), 0, this, TQT_SLOT(translateURL()), actionCollection(), "ru_en") ); m_menu->insert( m_es ); |