diff options
Diffstat (limited to 'kontact/plugins/karm')
-rw-r--r-- | kontact/plugins/karm/CMakeLists.txt | 6 | ||||
-rw-r--r-- | kontact/plugins/karm/karm_plugin.cpp | 4 | ||||
-rw-r--r-- | kontact/plugins/karm/karm_plugin.h | 2 | ||||
-rw-r--r-- | kontact/plugins/karm/karmplugin.desktop | 34 |
4 files changed, 10 insertions, 36 deletions
diff --git a/kontact/plugins/karm/CMakeLists.txt b/kontact/plugins/karm/CMakeLists.txt index 03e573b5..598d2e25 100644 --- a/kontact/plugins/karm/CMakeLists.txt +++ b/kontact/plugins/karm/CMakeLists.txt @@ -24,7 +24,11 @@ link_directories( ##### other data ################################ -install( FILES karmplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact ) +tde_create_translated_desktop( + SOURCE karmplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kontact + PO_DIR kontact-desktops +) ##### libkontact_karm (module) ################## diff --git a/kontact/plugins/karm/karm_plugin.cpp b/kontact/plugins/karm/karm_plugin.cpp index 8db54bc9..a84dd63b 100644 --- a/kontact/plugins/karm/karm_plugin.cpp +++ b/kontact/plugins/karm/karm_plugin.cpp @@ -37,12 +37,12 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_karm, KarmPluginFactory( "kontact_karm" ) ) KarmPlugin::KarmPlugin( Kontact::Core *core, const char *, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), "KArm" ) + : Kontact::Plugin( core, core, "KArm" ) { setInstance( KarmPluginFactory::instance() ); (void)dcopClient(); insertNewAction( new TDEAction( i18n( "New Task" ), "karm", - CTRL+SHIFT+Key_W, this, TQT_SLOT( newTask() ), actionCollection(), + CTRL+SHIFT+Key_W, this, TQ_SLOT( newTask() ), actionCollection(), "new_task" ) ); } diff --git a/kontact/plugins/karm/karm_plugin.h b/kontact/plugins/karm/karm_plugin.h index f2f6259b..adf32b50 100644 --- a/kontact/plugins/karm/karm_plugin.h +++ b/kontact/plugins/karm/karm_plugin.h @@ -36,7 +36,7 @@ class TDEAboutData; class KarmPlugin : public Kontact::Plugin { - Q_OBJECT + TQ_OBJECT public: KarmPlugin( Kontact::Core *core, const char *name, diff --git a/kontact/plugins/karm/karmplugin.desktop b/kontact/plugins/karm/karmplugin.desktop index ead8d27d..048db31f 100644 --- a/kontact/plugins/karm/karmplugin.desktop +++ b/kontact/plugins/karm/karmplugin.desktop @@ -12,36 +12,6 @@ X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=false -Comment=Time Tracker Component (KArm Plugin) -Comment[bg]=Приставка за KArm -Comment[ca]=Component de seguiment dels temps (endollable del KArm) -Comment[da]=Time Tracker-komponent (KArm-plugin) -Comment[de]=Zeiterfassungskomponente (KArm-Modul) -Comment[el]=Συστατικό γραμμής χρόνου (Πρόσθετο του KArm) -Comment[et]=Ajaarvestaja plugin (KArm) -Comment[it]=Componente segna-tempo (plugin Karm) -Comment[ja]=タイムトラッカーコンポーネント (KArm プラグイン) -Comment[nds]=Tietlogbook-Komponent (KArm-Moduul) -Comment[nl]=Tijdsregistratiecomponent (KArm-plugin) -Comment[pl]=Składnik śledzenia czasu (wtyczka KArm) -Comment[sr]=Компонента праћења времена (прикључак KArm-а) -Comment[sr@Latn]=Komponenta praćenja vremena (priključak KArm-a) -Comment[sv]=Komponent för tidmätning (Karm-insticksprogram) -Comment[zh_CN]=时间追踪组件(KArm 插件) -Comment[zh_TW]=時間追蹤器組件(KArm 外掛程式) - Name=Timer -Name[bg]=Таймер -Name[ca]=Cronòmetre -Name[de]=Stoppuhr -Name[el]=Χρονόμετρο -Name[et]=Ajaarvestaja -Name[ja]=タイマー -Name[nds]=Tietgever -Name[nl]=Tijdklok -Name[pl]=Stoper -Name[sr]=Тајмер -Name[sr@Latn]=Tajmer -Name[sv]=Tidmätning -Name[zh_CN]=计时器 -Name[zh_TW]=計時器 + +Comment=Time Tracker Component (KArm Plugin) |