summaryrefslogtreecommitdiffstats
path: root/konq-plugins/babelfish
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:10:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:10:05 -0600
commit74a2067d286867e313f736d6733407586b71195e (patch)
tree182ea565d6909db1541424e4ffb3168b4b139c21 /konq-plugins/babelfish
parent081670a12774435ae60cf8eba9226b91d27852b3 (diff)
downloadtdeaddons-74a2067d286867e313f736d6733407586b71195e.tar.gz
tdeaddons-74a2067d286867e313f736d6733407586b71195e.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'konq-plugins/babelfish')
-rw-r--r--konq-plugins/babelfish/plugin_babelfish.cpp84
-rw-r--r--konq-plugins/babelfish/plugin_babelfish.h16
2 files changed, 50 insertions, 50 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 );
diff --git a/konq-plugins/babelfish/plugin_babelfish.h b/konq-plugins/babelfish/plugin_babelfish.h
index 26463e0..dd25087 100644
--- a/konq-plugins/babelfish/plugin_babelfish.h
+++ b/konq-plugins/babelfish/plugin_babelfish.h
@@ -40,14 +40,14 @@ protected slots:
void slotStarted( TDEIO::Job* );
private:
- KActionMenu* m_menu;
- KActionMenu* m_de;
- KActionMenu* m_en;
- KActionMenu* m_es;
- KActionMenu* m_fr;
- KActionMenu* m_it;
- KActionMenu* m_nl;
- KActionMenu* m_pt;
+ TDEActionMenu* m_menu;
+ TDEActionMenu* m_de;
+ TDEActionMenu* m_en;
+ TDEActionMenu* m_es;
+ TDEActionMenu* m_fr;
+ TDEActionMenu* m_it;
+ TDEActionMenu* m_nl;
+ TDEActionMenu* m_pt;
};
#endif