summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/kaddressbook
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/kaddressbook')
-rw-r--r--kontact/plugins/kaddressbook/CMakeLists.txt8
-rw-r--r--kontact/plugins/kaddressbook/kaddressbook_plugin.cpp10
-rw-r--r--kontact/plugins/kaddressbook/kaddressbook_plugin.h2
-rw-r--r--kontact/plugins/kaddressbook/kaddressbookplugin.desktop76
4 files changed, 12 insertions, 84 deletions
diff --git a/kontact/plugins/kaddressbook/CMakeLists.txt b/kontact/plugins/kaddressbook/CMakeLists.txt
index b0ec6fe2..0b3d603c 100644
--- a/kontact/plugins/kaddressbook/CMakeLists.txt
+++ b/kontact/plugins/kaddressbook/CMakeLists.txt
@@ -25,9 +25,11 @@ link_directories(
##### other data ################################
-install( FILES
- kaddressbookplugin.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+tde_create_translated_desktop(
+ SOURCE kaddressbookplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kontact
+ PO_DIR kontact-desktops
+)
##### libkontact_kaddressbookplugin (module) ####
diff --git a/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp b/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp
index d4852e80..8cdef758 100644
--- a/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp
+++ b/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp
@@ -52,20 +52,20 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_kaddressbookplugin,
KAddressbookPluginFactory( "kontact_kaddressbookplugin" ) )
KAddressbookPlugin::KAddressbookPlugin( Kontact::Core *core, const char *, const TQStringList& )
- : Kontact::Plugin( core, TQT_TQOBJECT(core), "kaddressbook" ),
+ : Kontact::Plugin( core, core, "kaddressbook" ),
mStub( 0 )
{
setInstance( KAddressbookPluginFactory::instance() );
insertNewAction( new TDEAction( i18n( "New Contact..." ), "identity",
- CTRL+SHIFT+Key_C, this, TQT_SLOT( slotNewContact() ), actionCollection(),
+ CTRL+SHIFT+Key_C, this, TQ_SLOT( slotNewContact() ), actionCollection(),
"new_contact" ) );
insertNewAction( new TDEAction( i18n( "&New Distribution List..." ), "kontact_contacts", 0, this,
- TQT_SLOT( slotNewDistributionList() ), actionCollection(), "new_distributionlist" ) );
+ TQ_SLOT( slotNewDistributionList() ), actionCollection(), "new_distributionlist" ) );
insertSyncAction( new TDEAction( i18n( "Synchronize Contacts" ), "reload",
- 0, this, TQT_SLOT( slotSyncContacts() ), actionCollection(),
+ 0, this, TQ_SLOT( slotSyncContacts() ), actionCollection(),
"kaddressbook_sync" ) );
mUniqueAppWatcher = new Kontact::UniqueAppWatcher(
new Kontact::UniqueAppHandlerFactory<KABUniqueAppHandler>(), this );
@@ -213,5 +213,3 @@ int KABUniqueAppHandler::newInstance()
}
#include "kaddressbook_plugin.moc"
-
-// vim: sw=2 sts=2 tw=80 et
diff --git a/kontact/plugins/kaddressbook/kaddressbook_plugin.h b/kontact/plugins/kaddressbook/kaddressbook_plugin.h
index 3db624ce..6e073b19 100644
--- a/kontact/plugins/kaddressbook/kaddressbook_plugin.h
+++ b/kontact/plugins/kaddressbook/kaddressbook_plugin.h
@@ -44,7 +44,7 @@ public:
class KAddressbookPlugin : public Kontact::Plugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
KAddressbookPlugin( Kontact::Core *core, const char *name, const TQStringList& );
diff --git a/kontact/plugins/kaddressbook/kaddressbookplugin.desktop b/kontact/plugins/kaddressbook/kaddressbookplugin.desktop
index 2f8d7ac2..ac3ea5fa 100644
--- a/kontact/plugins/kaddressbook/kaddressbookplugin.desktop
+++ b/kontact/plugins/kaddressbook/kaddressbookplugin.desktop
@@ -15,78 +15,6 @@ X-TDE-PluginInfo-Version=0.1
X-TDE-PluginInfo-License=GPL
X-TDE-PluginInfo-EnabledByDefault=true
-Comment=Contacts Component (KAdressbook Plugin)
-Comment[bg]=Приставка за адресника
-Comment[ca]=Component de contactes (endollable del KAdressbook)
-Comment[da]=Kontaktkomponent (KAddressbook-plugin)
-Comment[de]=Adressbuch-Komponente (KAddressbook-Modul)
-Comment[el]=Συστατικό επαφών (Πρόσθετο του KAdressbook)
-Comment[et]=Kontaktide plugin (TDE aadressiraamat)
-Comment[it]=Componente contatti (plugin KAddressbook)
-Comment[ja]=アドレス帳コンポーネント (KAddressbook プラグイン)
-Comment[nds]=Kontakten-Komponent (KAddressbook-Moduul)
-Comment[nl]=Adresboekcomponent (KAddressbook-plugin)
-Comment[pl]=Składnik wizytówek (wtyczka KAddressBook)
-Comment[sr]=Компонента контаката (прикључак KAddressBook-а)
-Comment[sr@Latn]=Komponenta kontakata (priključak KAddressBook-a)
-Comment[sv]=Kontaktkomponent (adressboksinsticksprogram)
-Comment[zh_CN]=联系人组件(KAddressbook 插件)
-Comment[zh_TW]=聯絡人組件(KAddressBook 外掛程式)
Name=Contacts
-Name[af]=Kontakte
-Name[ar]=المراسلون
-Name[be]=Кантакты
-Name[bg]=Контакти
-Name[br]=Darempredoù
-Name[bs]=Kontakti
-Name[ca]=Contactes
-Name[cs]=Kontakty
-Name[cy]=Cysylltau
-Name[da]=Kontakter
-Name[de]=Kontakte
-Name[el]=Επαφές
-Name[eo]=Kontaktoj
-Name[es]=Contactos
-Name[et]=Kontaktid
-Name[eu]=Kontaktuak
-Name[fa]=تماسها
-Name[fi]=Yhteystiedot
-Name[fy]=Adressen
-Name[ga]=Teagmhálacha
-Name[gl]=Contactos
-Name[he]=אנשי קשר
-Name[hi]=सम्पर्कों
-Name[hu]=Névjegyek
-Name[is]=Tengiliðir
-Name[it]=Contatti
-Name[ja]=コンタクト
-Name[kk]=Контакттар
-Name[km]=ទំនាក់ទំនង
-Name[lt]=Kontaktai
-Name[mk]=Контакти
-Name[ms]=Orang hubungan
-Name[nds]=Kontakten
-Name[ne]=सम्पर्क
-Name[nl]=Adressen
-Name[nn]=Kontaktar
-Name[pa]=ਸੰਪਰਕ
-Name[pl]=Wizytówki
-Name[pt]=Contactos
-Name[pt_BR]=Contatos
-Name[ro]=Contacte
-Name[ru]=Контакты
-Name[rw]=Amaderesi
-Name[se]=Oktavuođat
-Name[sk]=Kontakty
-Name[sl]=Stiki
-Name[sr]=Контакти
-Name[sr@Latn]=Kontakti
-Name[sv]=Kontakter
-Name[ta]=தொடர்புகள்
-Name[tg]=Алоқот
-Name[th]=ที่อยู่ติดต่อ
-Name[tr]=Bağlantılar
-Name[uk]=Контакти
-Name[uz]=Алоқалар
-Name[zh_CN]=联系人
-Name[zh_TW]=聯絡人
+
+Comment=Contacts Component (KAdressbook Plugin)