diff options
Diffstat (limited to 'kontact/plugins')
97 files changed, 360 insertions, 1907 deletions
diff --git a/kontact/plugins/akregator/CMakeLists.txt b/kontact/plugins/akregator/CMakeLists.txt index 06744265..1a9c2b8e 100644 --- a/kontact/plugins/akregator/CMakeLists.txt +++ b/kontact/plugins/akregator/CMakeLists.txt @@ -25,9 +25,11 @@ link_directories( ##### other data ################################ -install( FILES - akregatorplugin.desktop akregatorplugin3.2.desktop - DESTINATION ${SERVICES_INSTALL_DIR}/kontact ) +tde_create_translated_desktop( + SOURCE akregatorplugin.desktop akregatorplugin3.2.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kontact + PO_DIR kontact-desktops +) ##### libkontact_akregator (module) ############# diff --git a/kontact/plugins/akregator/akregator_plugin.cpp b/kontact/plugins/akregator/akregator_plugin.cpp index a7a7fa7a..17cd5862 100644 --- a/kontact/plugins/akregator/akregator_plugin.cpp +++ b/kontact/plugins/akregator/akregator_plugin.cpp @@ -49,11 +49,11 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_akregator, PluginFactory( "kontact_akregator" ) ) AkregatorPlugin::AkregatorPlugin( Kontact::Core *core, const char *, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), "akregator" ), m_stub(0) + : Kontact::Plugin( core, core, "akregator" ), m_stub(0) { setInstance( PluginFactory::instance() ); - insertNewAction( new TDEAction( i18n( "New Feed..." ), "bookmark_add", CTRL+SHIFT+Key_F, this, TQT_SLOT( addFeed() ), actionCollection(), "feed_new" ) ); + insertNewAction( new TDEAction( i18n( "New Feed..." ), "bookmark_add", CTRL+SHIFT+Key_F, this, TQ_SLOT( addFeed() ), actionCollection(), "feed_new" ) ); m_uniqueAppWatcher = new Kontact::UniqueAppWatcher( new Kontact::UniqueAppHandlerFactory<Akregator::UniqueAppHandler>(), this ); @@ -89,7 +89,7 @@ MyBasePart* AkregatorPlugin::createPart() { MyBasePart* p = loadPart(); - connect(p, TQT_SIGNAL(showPart()), this, TQT_SLOT(showPart())); + connect(p, TQ_SIGNAL(showPart()), this, TQ_SLOT(showPart())); m_stub = new Akregator::AkregatorPartIface_stub( dcopClient(), "akregator", "AkregatorIface" ); m_stub->openStandardFeedList(); diff --git a/kontact/plugins/akregator/akregator_plugin.h b/kontact/plugins/akregator/akregator_plugin.h index 041d7a97..324d8ca8 100644 --- a/kontact/plugins/akregator/akregator_plugin.h +++ b/kontact/plugins/akregator/akregator_plugin.h @@ -50,7 +50,7 @@ class UniqueAppHandler : public Kontact::UniqueAppHandler class AkregatorPlugin : public Kontact::Plugin { - Q_OBJECT + TQ_OBJECT public: AkregatorPlugin( Kontact::Core *core, const char *name, diff --git a/kontact/plugins/akregator/akregatorplugin.desktop b/kontact/plugins/akregator/akregatorplugin.desktop index 48a690ac..1f8b91b3 100644 --- a/kontact/plugins/akregator/akregatorplugin.desktop +++ b/kontact/plugins/akregator/akregatorplugin.desktop @@ -13,66 +13,6 @@ X-TDE-PluginInfo-Version=1.0b2 X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=true -Comment=Feed Reader Component (Akregator Plugin) -Comment[bg]=Приставка за Akregator -Comment[ca]=Component lector d'enllaços (endollable de l'Akregator) -Comment[da]=Feed-læserkomponent (Akregator-plugin) -Comment[de]=Feedreader Komponente -Comment[el]=Συστατικό ανάγνωσης ροών (Πρόσθετο του Akregator) -Comment[et]=Uudistevoogude plugin (Akregator) -Comment[it]=Componente lettore fonti (plugin Akregator) -Comment[ja]=フィードリーダーコンポーネント (Akregator プラグイン) -Comment[nds]=Stroomleser-Komponent (Akregator-Moduul) -Comment[nl]=Component om feeds te lezen (Akregator-plugin) -Comment[pl]=Składnik do czytania niusów (wtyczka Akregator) -Comment[sr]=Компонента читања довода (прикључак Akregator-а) -Comment[sr@Latn]=Komponenta čitanja dovoda (priključak Akregator-a) -Comment[sv]=Komponent för läsning av kanaler (Akregator-insticksprogram) -Comment[zh_CN]=新闻源阅读器组件(Akregator 插件) -Comment[zh_TW]=Feed 閱讀器組件(Akregator 外掛程式) Name=Feeds -Name[af]=Strome -Name[bg]=Новини -Name[ca]=Enllaços -Name[cs]=Kanály -Name[da]=Kilder -Name[de]=Feeds -Name[el]=Ροές -Name[eo]=Fluoj -Name[es]=Orígenes -Name[et]=Uudisevood -Name[eu]=Iturriak -Name[fa]=خوراندنها -Name[fi]=Syötteet -Name[fr]=Flux -Name[fy]=Nijsoanfier -Name[ga]=Fothaí -Name[gl]=Fontes -Name[he]=ערוצים -Name[hu]=Hírforrások -Name[is]=Fréttastraumar -Name[it]=Fonti -Name[ja]=フィード -Name[kk]=Ақпарлар -Name[km]=មតិព័ត៌មាន -Name[lt]=Kanalai -Name[ms]=Suapan -Name[nb]=Kanaler -Name[nds]=Narichtenströöm -Name[ne]=फिड -Name[nn]=Kanalar -Name[pl]=Kanały -Name[pt]=Fontes -Name[pt_BR]=Fontes de Notícias -Name[ru]=Ленты новостей -Name[sk]=Kŕmitka -Name[sl]=Viri -Name[sr]=Доводи -Name[sr@Latn]=Dovodi -Name[sv]=Kanaler -Name[ta]=உள்ளீடுகள் -Name[tr]=Haberler -Name[uk]=Подачі -Name[uz]=Янгиликлар тасмалари -Name[zh_CN]=种子 +Comment=Feed Reader Component (Akregator Plugin) diff --git a/kontact/plugins/akregator/akregatorplugin3.2.desktop b/kontact/plugins/akregator/akregatorplugin3.2.desktop index 13a49ffa..b983d429 100644 --- a/kontact/plugins/akregator/akregatorplugin3.2.desktop +++ b/kontact/plugins/akregator/akregatorplugin3.2.desktop @@ -12,97 +12,6 @@ X-TDE-PluginInfo-Version=1.0b2 X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=true -Comment=Akregator Plugin -Comment[af]=Akregator inprop module -Comment[bg]=Приставка за Akregator -Comment[br]=Lugant Akregator -Comment[ca]=Endollable Akregator -Comment[cs]=Modul Akregatoru -Comment[de]=Akregator-Modul -Comment[el]=Πρόσθετο του Akregator -Comment[eo]=Akregator-kromaĵo -Comment[es]=Extensión de Akregator -Comment[et]=Akregatori plugin -Comment[eu]=Akregator plugin-a -Comment[fa]=وصلۀ Akregator -Comment[fi]=Akregator-liitännäinen -Comment[fr]=Module pour Akregator -Comment[fy]=Akregatorplugin -Comment[ga]=Breiseán Akregator -Comment[gl]=Extensión para Akregator -Comment[he]=תוסף עבור Akregator -Comment[hu]=Akregator bővítőmodul -Comment[is]=Akregator íforrit -Comment[it]=Plugin aKregator -Comment[ja]=Akregator プラグイン -Comment[kk]=Akregator модулі -Comment[km]=កម្មវិធីជំនួយ Akregator -Comment[lt]=Akregator priedas -Comment[mk]=Приклучок за Akregator -Comment[ms]=Plugin Akregator -Comment[nb]=Akgregator-programtillegg -Comment[nds]=Akregator-Moduul -Comment[ne]=एक्रिगेटर प्लगइन -Comment[nl]=Akregatorplugin -Comment[nn]=Akregator-programtillegg -Comment[pl]=Wtyczka Akregatora -Comment[pt]='Plugin' Akregator -Comment[pt_BR]=Plug-in do Akregator -Comment[ru]=Модуль Akregator -Comment[sk]=Modul Akregator -Comment[sl]=Vstavek Akregator -Comment[sr]=Прикључак Akregator-а -Comment[sr@Latn]=Priključak Akregator-a -Comment[sv]=Akregator-insticksprogram -Comment[ta]=Akregator சொருகுப்பொருள் -Comment[tr]=Akregator Eklentisi -Comment[uk]=Втулок Akregator -Comment[uz]=Akregator плагини -Comment[zh_CN]=Akregator 插件 -Comment[zh_TW]=Akregator 外掛程式 Name=Feeds -Name[af]=Strome -Name[bg]=Новини -Name[ca]=Enllaços -Name[cs]=Kanály -Name[da]=Kilder -Name[de]=Nachrichten -Name[el]=Ροές -Name[eo]=Fluoj -Name[es]=Orígenes -Name[et]=Uudisevood -Name[eu]=Iturriak -Name[fa]=خوراندنها -Name[fi]=Syötteet -Name[fr]=Flux -Name[fy]=Nijsoanfier -Name[ga]=Fothaí -Name[gl]=Fontes -Name[he]=ערוצים -Name[hu]=Hírforrások -Name[is]=Fréttastraumar -Name[it]=Fonti -Name[ja]=フィード -Name[kk]=Ақпарлар -Name[km]=មតិព័ត៌មាន -Name[lt]=Kanalai -Name[ms]=Suapan -Name[nb]=Kanaler -Name[nds]=Narichtenströöm -Name[ne]=फिड -Name[nn]=Kanalar -Name[pl]=Kanały -Name[pt]=Fontes -Name[pt_BR]=Fontes de Notícias -Name[ru]=Ленты новостей -Name[sk]=Kŕmitka -Name[sl]=Viri -Name[sr]=Доводи -Name[sr@Latn]=Dovodi -Name[sv]=Kanaler -Name[ta]=உள்ளீடுகள் -Name[tr]=Haberler -Name[uk]=Подачі -Name[uz]=Янгиликлар тасмалари -Name[zh_CN]=种子 +Comment=Akregator Plugin 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) 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) diff --git a/kontact/plugins/kitchensync/Makefile.am b/kontact/plugins/kitchensync/Makefile.am deleted file mode 100644 index c6df9113..00000000 --- a/kontact/plugins/kitchensync/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -INCLUDES = -I$(top_srcdir)/kontact/interfaces $(all_includes) - -kde_module_LTLIBRARIES = libkontact_kitchensync.la -libkontact_kitchensync_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkontact_kitchensync_la_LIBADD = $(top_builddir)/kontact/interfaces/libkpinterfaces.la - -libkontact_kitchensync_la_SOURCES = kitchensync_plugin.cpp - -METASOURCES = AUTO - -servicedir = $(kde_servicesdir)/kontact -service_DATA = kitchensync.desktop - -kitchensynciface_DIR = $(top_srcdir)/kitchensync diff --git a/kontact/plugins/kitchensync/kitchensync.desktop b/kontact/plugins/kitchensync/kitchensync.desktop deleted file mode 100644 index dddec435..00000000 --- a/kontact/plugins/kitchensync/kitchensync.desktop +++ /dev/null @@ -1,41 +0,0 @@ -[Desktop Entry] -Type=Service -Icon=kitchensync -X-TDE-ServiceTypes=Kontact/Plugin,KPluginInfo - -X-TDE-Library=libkontact_kitchensync -X-TDE-KontactPluginVersion=6 -X-TDE-KontactPartLibraryName=libkitchensyncpart - -X-TDE-PluginInfo-Name=kontact_kitchensync -X-TDE-PluginInfo-Version=0.1 -X-TDE-PluginInfo-License=GPL -X-TDE-PluginInfo-EnabledByDefault=false - -Comment=Synchronization Component (Kitchensynk Plugin) -Comment[bg]=Приставка за синхронизация -Comment[ca]=Component de sincronització (endollable del KitchenSync) -Comment[da]=Synkronisergingskomponent (Kitchensync-plugin) -Comment[de]=Synchronisationskomponente (KitchenSync-Modul) -Comment[el]=Συστατικό συγχρονισμού (Πρόσθετο του Kitchensynk) -Comment[et]=Sünkroniseerimise plugin (KitchenSync) -Comment[it]=Componente di sincronizzazione (plugin KitchenSync) -Comment[ja]=同期コンポーネント (KitchenSync プラグイン) -Comment[nds]=Synkroniseer-Komponent (Kitchensynk-Moduul) -Comment[nl]=Synchronisatiecomponent (Kitchensynk-plugin) -Comment[pl]=Składnik synchronizacji (wtyczka KitchenSync) -Comment[sr]=Компонента синхронизације (прикључак KitchenSync-а) -Comment[sr@Latn]=Komponenta sinhronizacije (priključak KitchenSync-a) -Comment[sv]=Synkroniseringskomponent (Kitchensynk-insticksprogram) -Comment[zh_CN]=同步组件(KitchenSync 插件) -Comment[zh_TW]=同步組件(KitchenSynk 外掛程式) -Name=Sync -Name[bg]=Синхронизация -Name[de]=Abgleich -Name[el]=Συγχρονισμός -Name[et]=Sünkroniseerimine -Name[ja]=同期 -Name[nds]=Synkroniseren -Name[pl]=Synchronizacja -Name[sv]=Synkronisering -Name[zh_TW]=同步 diff --git a/kontact/plugins/kitchensync/kitchensync_plugin.cpp b/kontact/plugins/kitchensync/kitchensync_plugin.cpp deleted file mode 100644 index 48e33627..00000000 --- a/kontact/plugins/kitchensync/kitchensync_plugin.cpp +++ /dev/null @@ -1,67 +0,0 @@ -/* - This file is part of Kontact. - - Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org> - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - As a special exception, permission is given to link this program - with any edition of TQt, and distribute the resulting executable, - without including the source code for TQt in the source distribution. -*/ - -#include <tqwidget.h> - -#include <tdeaboutdata.h> -#include <tdeaction.h> -#include <tdeapplication.h> -#include <kdebug.h> -#include <kgenericfactory.h> -#include <kiconloader.h> -#include <tdemessagebox.h> -#include <tdeparts/componentfactory.h> - -#include "core.h" -#include "plugin.h" - -#include "kitchensync_plugin.h" - -typedef KGenericFactory< KitchenSyncPlugin, Kontact::Core > KitchenSyncPluginFactory; -K_EXPORT_COMPONENT_FACTORY( libkontact_kitchensync, - KitchenSyncPluginFactory( "kontact_kitchensync" ) ) - -KitchenSyncPlugin::KitchenSyncPlugin( Kontact::Core *core, const char *, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), "KitchenSync" ) -{ - setInstance( KitchenSyncPluginFactory::instance() ); -} - -KitchenSyncPlugin::~KitchenSyncPlugin() -{ -} - -KParts::ReadOnlyPart* KitchenSyncPlugin::createPart() -{ - return loadPart(); -} - -TQStringList KitchenSyncPlugin::configModules() const -{ - TQStringList modules; - modules << "PIM/kitchensync.desktop"; - return modules; -} - -#include "kitchensync_plugin.moc" diff --git a/kontact/plugins/kitchensync/kitchensync_plugin.h b/kontact/plugins/kitchensync/kitchensync_plugin.h deleted file mode 100644 index b484e32e..00000000 --- a/kontact/plugins/kitchensync/kitchensync_plugin.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - This file is part of Kontact. - - Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org> - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - As a special exception, permission is given to link this program - with any edition of TQt, and distribute the resulting executable, - without including the source code for TQt in the source distribution. -*/ - -#ifndef KITCHENSYNC_PLUGIN_H -#define KITCHENSYNC_PLUGIN_H - -#include <tdelocale.h> -#include <tdeparts/part.h> - -#include "plugin.h" - -class TDEAboutData; - -class KitchenSyncPlugin : public Kontact::Plugin -{ - Q_OBJECT - - public: - KitchenSyncPlugin( Kontact::Core *core, const char *name, - const TQStringList & ); - virtual ~KitchenSyncPlugin(); - - int weight() const { return 800; } - - virtual TQStringList configModules() const; - protected: - KParts::ReadOnlyPart *createPart(); -}; - -#endif diff --git a/kontact/plugins/kmail/CMakeLists.txt b/kontact/plugins/kmail/CMakeLists.txt index e65a4d88..7ac2fed5 100644 --- a/kontact/plugins/kmail/CMakeLists.txt +++ b/kontact/plugins/kmail/CMakeLists.txt @@ -31,8 +31,17 @@ link_directories( ##### other data ################################ -install( FILES kcmkmailsummary.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES kmailplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact ) +tde_create_translated_desktop( + SOURCE kcmkmailsummary.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kontact-desktops +) + +tde_create_translated_desktop( + SOURCE kmailplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kontact + PO_DIR kontact-desktops +) ##### libkontact_kmailplugin (module) ########### diff --git a/kontact/plugins/kmail/kcmkmailsummary.cpp b/kontact/plugins/kmail/kcmkmailsummary.cpp index 497e2780..20ba1a72 100644 --- a/kontact/plugins/kmail/kcmkmailsummary.cpp +++ b/kontact/plugins/kmail/kcmkmailsummary.cpp @@ -37,11 +37,11 @@ #include "kcmkmailsummary.h" -#include <tdepimmacros.h> +#include <kdemacros.h> extern "C" { - KDE_EXPORT TDECModule *create_kmailsummary( TQWidget *parent, const char * ) + TDE_EXPORT TDECModule *create_kmailsummary( TQWidget *parent, const char * ) { return new KCMKMailSummary( parent, "kcmkmailsummary" ); } @@ -52,8 +52,8 @@ KCMKMailSummary::KCMKMailSummary( TQWidget *parent, const char *name ) { initGUI(); - connect( mFolderView, TQT_SIGNAL( clicked( TQListViewItem* ) ), TQT_SLOT( modified() ) ); - connect( mFullPath, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( modified() ) ); + connect( mFolderView, TQ_SIGNAL( clicked( TQListViewItem* ) ), TQ_SLOT( modified() ) ); + connect( mFullPath, TQ_SIGNAL( toggled( bool ) ), TQ_SLOT( modified() ) ); TDEAcceleratorManager::manage( this ); diff --git a/kontact/plugins/kmail/kcmkmailsummary.desktop b/kontact/plugins/kmail/kcmkmailsummary.desktop index 36ee5485..2ce5576c 100644 --- a/kontact/plugins/kmail/kcmkmailsummary.desktop +++ b/kontact/plugins/kmail/kcmkmailsummary.desktop @@ -11,82 +11,7 @@ X-TDE-ParentComponents=kontact_kmailplugin X-TDE-CfgDlgHierarchy=KontactSummary Name=E-Mail Overview -Name[bg]=Преглед на пощата -Name[ca]=Resum de correu -Name[da]=Oversigt over e-mail -Name[de]=E-Mail-Übersicht -Name[el]=Επισκόπηση αλληλογραφίας -Name[et]=E-posti ülevaade -Name[it]=Panoramica posta elettronica -Name[ja]=メールの要約 -Name[nds]=Nettpost-Översicht -Name[nl]=E-mailoverzicht -Name[pl]=Poczta -Name[sr]=Преглед е-поште -Name[sr@Latn]=Pregled e-pošte -Name[sv]=E-postöversikt -Name[zh_CN]=邮件概览 -Name[zh_TW]=郵件概要 + Comment=E-Mail Summary Setup -Comment[bg]=Настройки на обобщението на писмата -Comment[ca]=Configuració del resum de correu -Comment[da]=Opsætning af post-opsummering -Comment[de]=Einstellungen für E-Mail-Übersicht -Comment[el]=Ρύθμιση σύνοψης αλληλογραφίας -Comment[et]=E-posti kokkuvõtte seadistus -Comment[it]=Impostazioni sommario posta elettronica -Comment[ja]=メール要約の設定 -Comment[nds]=Instellen för Nettpost-Översicht -Comment[nl]=Instellingen voor e-mailoverzicht -Comment[pl]=Ustawienia podsumowania e-maili -Comment[sr]=Подешавање сажетка е-поште -Comment[sr@Latn]=Podešavanje sažetka e-pošte -Comment[sv]=Inställning av e-postöversikt -Comment[zh_CN]=邮件摘要设置 -Comment[zh_TW]=郵件摘要設定 + Keywords=email; summary; configure; settings; -Keywords[af]=email;summary;configure;settings; -Keywords[bg]=резюме; общо; обобщение; пощенски; клиент; е-поща; email; summary; configure; settings; -Keywords[bs]=email; summary; configure; settings; sažetak; postavke; -Keywords[ca]=correu-e; resum; configuració; arranjament; -Keywords[cs]=email;souhrn;nastavení;nastavit; -Keywords[da]=e-mail; opsummering; indstil; opsætning; -Keywords[de]=E-Mail;email;Übersicht;einstellen;Einstellungen;Einrichten; -Keywords[el]=αλληλογραφία; σύνοψη; ρύθμιση; ρυθμίσεις; -Keywords[es]=correo; resumen; configurar; opciones; -Keywords[et]=e-post; meil; seadistamine; seadistused; -Keywords[eu]=eposta; laburpena; konfiguratu; ezarpenak; -Keywords[fa]=email، خلاصه، پیکربندی، تنظیمات; -Keywords[fi]=sähköposti; yhteenveto; asetukset; -Keywords[fr]=message;messagerie;courrier;résumé;vue;configurer;paramètres;paramètre; -Keywords[fy]=email;e-mail;e-post;oersicht;gearfetting;ynstellings; konfiguraasje; -Keywords[ga]=ríomhphost; achoimre; cumraigh; socruithe; -Keywords[gl]=email; resumo; configurar; opcións; -Keywords[he]=email; summary; configure; settings; דוא"ל; תקציר; תצורה; הגדרת; דואל; דואר; דואר אלקטרוני; -Keywords[hu]=e-mail;áttekintés;konfigurálás;beállítások; -Keywords[is]=tölvupóstur; yfirlit; stillingar; stilla; -Keywords[it]=posta elettronica; email; sommario; configura; impostazioni; -Keywords[ja]=メール;要約;設定;設定; -Keywords[km]=អ៊ីមែល;សង្ខេប;កំណត់រចនាសម្ព័ន្ធ;ការកំណត់; -Keywords[lt]=email; summary; configure; settings; e. paštas; santrauka; konfigūruoti; nustatymai; -Keywords[mk]=email; summary; configure; settings; е-пошта; преглед; конфигурација; поставувања; -Keywords[ms]=e-mel; ringkasan; konfigur; seting; -Keywords[nb]=e-post; sammendrag; oppsett; innstillinger; -Keywords[nds]=Nettpost;Nettbreef;Översicht;instellen; -Keywords[ne]=इमेल; सारांश; कन्फिगर; सेटिङ; -Keywords[nl]=email;e-mail;overzicht;samenvatting;instellingen;configuratie; -Keywords[nn]=e-post;samandrag;oppsett;innstillingar; -Keywords[pl]=email;list;podsumowanie;konfiguracja;ustawienia; -Keywords[pt]=e-mail; sumário; configurar; configuração; -Keywords[pt_BR]=e-mail; resumo; configurar; configurações; -Keywords[ru]=email;summary;configure;settings;настройки;дайджест;почта; -Keywords[sk]=email;súhrn;nastavenie; -Keywords[sl]=e-pošta;pošta;povzetek;nastavi;nastavitve; -Keywords[sr]=емаил; сажетак; подеси; поставке; -Keywords[sr@Latn]=email; sažetak; podesi; postavke; -Keywords[sv]=e-post; översikt; anpassa; inställningar; -Keywords[ta]=மின்னஞ்சல்;சுருக்கம்;கட்டமைப்பு;அமைவுகள்; -Keywords[tg]=email; summary; configure; settings;танзимот; дайджест;почта; -Keywords[tr]=e-posta; özet; yapılandır; yapılandırma; -Keywords[uk]=пошта; підсумок; налаштування; параметри; -Keywords[zh_CN]=email; summary; configure; settings; 电子邮件; 摘要; 配置; 设置; diff --git a/kontact/plugins/kmail/kcmkmailsummary.h b/kontact/plugins/kmail/kcmkmailsummary.h index 7cc4763e..e6681153 100644 --- a/kontact/plugins/kmail/kcmkmailsummary.h +++ b/kontact/plugins/kmail/kcmkmailsummary.h @@ -35,7 +35,7 @@ class TQCheckListItem; class KCMKMailSummary : public TDECModule { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/kmail/kmail_plugin.cpp b/kontact/plugins/kmail/kmail_plugin.cpp index 09c2fd05..1a818694 100644 --- a/kontact/plugins/kmail/kmail_plugin.cpp +++ b/kontact/plugins/kmail/kmail_plugin.cpp @@ -56,17 +56,17 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_kmailplugin, KMailPluginFactory( "kontact_kmailplugin" ) ) KMailPlugin::KMailPlugin(Kontact::Core *core, const char *, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), "kmail" ), + : Kontact::Plugin( core, core, "kmail" ), mStub( 0 ) { setInstance( KMailPluginFactory::instance() ); insertNewAction( new TDEAction( i18n( "New Message..." ), "mail-message-new", - CTRL+SHIFT+Key_M, this, TQT_SLOT( slotNewMail() ), actionCollection(), + CTRL+SHIFT+Key_M, this, TQ_SLOT( slotNewMail() ), actionCollection(), "new_mail" ) ); insertSyncAction( new TDEAction( i18n( "Synchronize Mail" ), "reload", - 0, this, TQT_SLOT( slotSyncFolders() ), actionCollection(), + 0, this, TQ_SLOT( slotSyncFolders() ), actionCollection(), "sync_mail" ) ); mUniqueAppWatcher = new Kontact::UniqueAppWatcher( diff --git a/kontact/plugins/kmail/kmail_plugin.h b/kontact/plugins/kmail/kmail_plugin.h index 923fd3a8..ff8c532e 100644 --- a/kontact/plugins/kmail/kmail_plugin.h +++ b/kontact/plugins/kmail/kmail_plugin.h @@ -45,7 +45,7 @@ public: class KMailPlugin : public Kontact::Plugin { - Q_OBJECT + TQ_OBJECT public: KMailPlugin( Kontact::Core *core, const char *name, const TQStringList& ); diff --git a/kontact/plugins/kmail/kmailplugin.desktop b/kontact/plugins/kmail/kmailplugin.desktop index 748cdc8a..59606585 100644 --- a/kontact/plugins/kmail/kmailplugin.desktop +++ b/kontact/plugins/kmail/kmailplugin.desktop @@ -16,37 +16,6 @@ X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=true -Comment=E-Mail Component (KMail Plugin) -Comment[bg]=Модул за е-поща -Comment[ca]=Component de correu (endollable del KMail) -Comment[da]=Post-komponent (KMail-plugin) -Comment[de]=E-Mail-Komponente (KMail-Modul) -Comment[el]=Συστατικό αλληλογραφίας (Πρόσθετο του KMail) -Comment[et]=E-posti plugin (KMail) -Comment[it]=Componente posta elettronica (plugin KMail) -Comment[ja]=メールコンポーネント (KMail プラグイン) -Comment[nds]=Nettpost-Komponent (KMail-Moduul) -Comment[nl]=E-mailcomponent (KMail-plugin) -Comment[pl]=Składnik poczty (wtyczka KMail) -Comment[sr]=Компонента е-поште (прикључак KMail-а) -Comment[sr@Latn]=Komponenta e-pošte (priključak KMail-a) -Comment[sv]=E-postkomponent (Kmail-insticksprogram) -Comment[zh_CN]=邮件组件(KMail 插件) -Comment[zh_TW]=電子郵件組件(KMail 外掛程式) Name=E-Mail -Name[bg]=Е-поща -Name[ca]=Correu -Name[da]=E-mail -Name[de]=E-Mail -Name[el]=Αλληλογραφία -Name[et]=E-post -Name[it]=Posta elettronica -Name[ja]=メール -Name[nds]=Nettpost -Name[nl]=E-mail -Name[pl]=E-mail -Name[sr]=Е-пошта -Name[sr@Latn]=E-pošta -Name[sv]=E-post -Name[zh_CN]=邮件 -Name[zh_TW]=電子郵件 + +Comment=E-Mail Component (KMail Plugin) diff --git a/kontact/plugins/kmail/summarywidget.cpp b/kontact/plugins/kmail/summarywidget.cpp index 9ac18602..31e22992 100644 --- a/kontact/plugins/kmail/summarywidget.cpp +++ b/kontact/plugins/kmail/summarywidget.cpp @@ -1,5 +1,4 @@ -/* -*- mode: C++; c-file-style: "gnu" -*- - +/* This file is part of Kontact. Copyright (c) 2003 Tobias Koenig <tokoe@kde.org> @@ -134,8 +133,8 @@ void SummaryWidget::updateFolderList( const TQStringList& folders ) urlLabel->installEventFilter( this ); urlLabel->setAlignment( AlignLeft ); urlLabel->show(); - connect( urlLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ), - TQT_SLOT( selectFolder( const TQString& ) ) ); + connect( urlLabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), + TQ_SLOT( selectFolder( const TQString& ) ) ); mLayout->addWidget( urlLabel, counter, 0 ); mLabels.append( urlLabel ); @@ -164,7 +163,7 @@ void SummaryWidget::updateFolderList( const TQStringList& folders ) bool SummaryWidget::eventFilter( TQObject *obj, TQEvent* e ) { if ( obj->inherits( "KURLLabel" ) ) { - KURLLabel* label = static_cast<KURLLabel*>( TQT_TQWIDGET(obj) ); + KURLLabel* label = static_cast<KURLLabel*>( obj ); if ( e->type() == TQEvent::Enter ) emit message( i18n( "Open Folder: \"%1\"" ).arg( label->text() ) ); if ( e->type() == TQEvent::Leave ) diff --git a/kontact/plugins/kmail/summarywidget.h b/kontact/plugins/kmail/summarywidget.h index 3813ee03..d5fb299c 100644 --- a/kontact/plugins/kmail/summarywidget.h +++ b/kontact/plugins/kmail/summarywidget.h @@ -40,7 +40,7 @@ class TQString; class SummaryWidget : public Kontact::Summary, public DCOPObject { - Q_OBJECT + TQ_OBJECT // K_DCOP diff --git a/kontact/plugins/knode/CMakeLists.txt b/kontact/plugins/knode/CMakeLists.txt index ed5a0608..881a4540 100644 --- a/kontact/plugins/knode/CMakeLists.txt +++ b/kontact/plugins/knode/CMakeLists.txt @@ -24,7 +24,11 @@ link_directories( ##### other data ################################ -install( FILES knodeplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact ) +tde_create_translated_desktop( + SOURCE knodeplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kontact + PO_DIR kontact-desktops +) ##### libkontact_knodeplugin (module) ########### diff --git a/kontact/plugins/knode/knode_plugin.cpp b/kontact/plugins/knode/knode_plugin.cpp index 758572bb..8a6fb54f 100644 --- a/kontact/plugins/knode/knode_plugin.cpp +++ b/kontact/plugins/knode/knode_plugin.cpp @@ -45,12 +45,12 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_knodeplugin, KNodePlugin::KNodePlugin( Kontact::Core *core, const char *, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), "knode" ), mStub(0) + : Kontact::Plugin( core, core, "knode" ), mStub(0) { setInstance( KNodePluginFactory::instance() ); insertNewAction( new TDEAction( i18n( "New Article..." ), "mail-message-new", CTRL+SHIFT+Key_A, - this, TQT_SLOT( slotPostArticle() ), actionCollection(), "post_article" ) ); + this, TQ_SLOT( slotPostArticle() ), actionCollection(), "post_article" ) ); mUniqueAppWatcher = new Kontact::UniqueAppWatcher( new Kontact::UniqueAppHandlerFactory<KNodeUniqueAppHandler>(), this ); diff --git a/kontact/plugins/knode/knode_plugin.h b/kontact/plugins/knode/knode_plugin.h index 4b1cb21e..c74878c9 100644 --- a/kontact/plugins/knode/knode_plugin.h +++ b/kontact/plugins/knode/knode_plugin.h @@ -42,7 +42,7 @@ public: class KNodePlugin : public Kontact::Plugin { - Q_OBJECT + TQ_OBJECT public: KNodePlugin( Kontact::Core *core, const char *name, const TQStringList& ); diff --git a/kontact/plugins/knode/knodeplugin.desktop b/kontact/plugins/knode/knodeplugin.desktop index 2dd4cfb7..09e4c71c 100644 --- a/kontact/plugins/knode/knodeplugin.desktop +++ b/kontact/plugins/knode/knodeplugin.desktop @@ -13,78 +13,6 @@ X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=false -Comment=Newsreader Component (KNode Plugin) -Comment[bg]=Приставка за KNode -Comment[ca]=Component de notícies (endollable del KNode) -Comment[da]=Nyhedskomponent (KNode-plugin) -Comment[de]=News-Komponente (KNode-Modul) -Comment[el]=Συστατικό ανάγνωσης νέων (Πρόσθετο του KNode) -Comment[et]=Uudistelugeja plugin (KNode) -Comment[it]=Componente lettore di news (plugin KNode) -Comment[ja]=ニュースリーダーコンポーネント (KNode プラグイン) -Comment[nds]=Narichtenkieker-Komponent (KNode-Moduul) -Comment[nl]=Nieuwscomponent (KNode-plugin) -Comment[pl]=Składnik wiadomości (wtyczka KNode) -Comment[sr]=Компонента вести (прикључак KNode-а) -Comment[sr@Latn]=Komponenta vesti (priključak KNode-a) -Comment[sv]=Komponent för läsning av diskussionsgrupper (Knode-insticksprogram) -Comment[zh_CN]=新闻组阅读器组件(KNode 插件) -Comment[zh_TW]=新聞閱讀器組件(KNode 外掛程式) Name=News -Name[af]=Nuus -Name[ar]=الأخبار -Name[be]=Навіны -Name[bg]=Новини -Name[br]=Keleier -Name[bs]=Usenet -Name[ca]=Notícies -Name[cs]=Novinky -Name[cy]=Newyddion -Name[da]=Nyheder -Name[de]=Usenet -Name[el]=Νέα -Name[eo]=Novaĵoj -Name[es]=Noticias -Name[et]=Uudisegrupid -Name[eu]=Berriak -Name[fa]=اخبار -Name[fi]=Uutiset -Name[fr]=Nouvelles -Name[fy]=Nijs -Name[ga]=Nuacht -Name[gl]=Novas -Name[he]=חדשות -Name[hi]=समाचार -Name[hu]=Hírek -Name[is]=Fréttir -Name[ja]=ニュース -Name[kk]=Жаңалықтар -Name[km]=ព័ត៌មាន -Name[lt]=Naujienos -Name[mk]=Вести -Name[ms]=Berita -Name[nb]=Njus -Name[nds]=Narichten -Name[ne]=समाचार -Name[nl]=Nieuws -Name[nn]=Nyheiter -Name[pa]=ਖ਼ਬਰਾਂ -Name[pl]=Listy dyskusyjne -Name[pt]=Notícias -Name[pt_BR]=Notícias -Name[ro]=Ştiri -Name[ru]=Новости -Name[se]=Ođđasat -Name[sk]=Diskusné skupiny -Name[sl]=Novice -Name[sr]=Вести -Name[sr@Latn]=Vesti -Name[sv]=Nyheter -Name[ta]=செய்திகள் -Name[tg]=Ахборот -Name[th]=ข่าว -Name[tr]=Haberler -Name[uk]=Новини -Name[uz]=Янгиликлар -Name[zh_CN]=新闻 -Name[zh_TW]=新聞 + +Comment=Newsreader Component (KNode Plugin) diff --git a/kontact/plugins/knotes/CMakeLists.txt b/kontact/plugins/knotes/CMakeLists.txt index 39e5e62a..3a213e4e 100644 --- a/kontact/plugins/knotes/CMakeLists.txt +++ b/kontact/plugins/knotes/CMakeLists.txt @@ -27,7 +27,12 @@ link_directories( ##### other data ################################ -install( FILES knotesplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact ) +tde_create_translated_desktop( + SOURCE knotesplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kontact + PO_DIR kontact-desktops +) + install( FILES knotes_part.rc DESTINATION ${DATA_INSTALL_DIR}/knotes ) diff --git a/kontact/plugins/knotes/knotes_part.cpp b/kontact/plugins/knotes/knotes_part.cpp index 02a4028e..7ec3df6c 100644 --- a/kontact/plugins/knotes/knotes_part.cpp +++ b/kontact/plugins/knotes/knotes_part.cpp @@ -50,13 +50,13 @@ KNotesPart::KNotesPart( TQObject *parent, const char *name ) setInstance( new TDEInstance( "knotes" ) ); // create the actions - new TDEAction( i18n( "&New" ), "knotes", CTRL+Key_N, this, TQT_SLOT( newNote() ), + new TDEAction( i18n( "&New" ), "knotes", CTRL+Key_N, this, TQ_SLOT( newNote() ), actionCollection(), "file_new" ); - new TDEAction( i18n( "Rename..." ), "text", this, TQT_SLOT( renameNote() ), + new TDEAction( i18n( "Rename..." ), "text", this, TQ_SLOT( renameNote() ), actionCollection(), "edit_rename" ); - new TDEAction( i18n( "Delete" ), "edit-delete", Key_Delete, this, TQT_SLOT( killSelectedNotes() ), + new TDEAction( i18n( "Delete" ), "edit-delete", Key_Delete, this, TQ_SLOT( killSelectedNotes() ), actionCollection(), "edit_delete" ); - new TDEAction( i18n( "Print Selected Notes..." ), "print", CTRL+Key_P, this, TQT_SLOT( printSelectedNotes() ), + new TDEAction( i18n( "Print Selected Notes..." ), "print", CTRL+Key_P, this, TQ_SLOT( printSelectedNotes() ), actionCollection(), "print_note" ); // TODO icons: s/editdelete/knotes_delete/ or the other way round in knotes @@ -68,20 +68,20 @@ KNotesPart::KNotesPart( TQObject *parent, const char *name ) mNotesView->setAutoArrange( true ); mNotesView->setSorting( true ); - connect( mNotesView, TQT_SIGNAL( executed( TQIconViewItem* ) ), - this, TQT_SLOT( editNote( TQIconViewItem* ) ) ); - connect( mNotesView, TQT_SIGNAL( returnPressed( TQIconViewItem* ) ), - this, TQT_SLOT( editNote( TQIconViewItem* ) ) ); - connect( mNotesView, TQT_SIGNAL( itemRenamed( TQIconViewItem* ) ), - this, TQT_SLOT( renamedNote( TQIconViewItem* ) ) ); - connect( mNotesView, TQT_SIGNAL( contextMenuRequested( TQIconViewItem*, const TQPoint& ) ), - this, TQT_SLOT( popupRMB( TQIconViewItem*, const TQPoint& ) ) ); - connect( mNotesView, TQT_SIGNAL( onItem( TQIconViewItem* ) ), - this, TQT_SLOT( slotOnItem( TQIconViewItem* ) ) ); - connect( mNotesView, TQT_SIGNAL( onViewport() ), - this, TQT_SLOT( slotOnViewport() ) ); - connect( mNotesView, TQT_SIGNAL( currentChanged( TQIconViewItem* ) ), - this, TQT_SLOT( slotOnCurrentChanged( TQIconViewItem* ) ) ); + connect( mNotesView, TQ_SIGNAL( executed( TQIconViewItem* ) ), + this, TQ_SLOT( editNote( TQIconViewItem* ) ) ); + connect( mNotesView, TQ_SIGNAL( returnPressed( TQIconViewItem* ) ), + this, TQ_SLOT( editNote( TQIconViewItem* ) ) ); + connect( mNotesView, TQ_SIGNAL( itemRenamed( TQIconViewItem* ) ), + this, TQ_SLOT( renamedNote( TQIconViewItem* ) ) ); + connect( mNotesView, TQ_SIGNAL( contextMenuRequested( TQIconViewItem*, const TQPoint& ) ), + this, TQ_SLOT( popupRMB( TQIconViewItem*, const TQPoint& ) ) ); + connect( mNotesView, TQ_SIGNAL( onItem( TQIconViewItem* ) ), + this, TQ_SLOT( slotOnItem( TQIconViewItem* ) ) ); + connect( mNotesView, TQ_SIGNAL( onViewport() ), + this, TQ_SLOT( slotOnViewport() ) ); + connect( mNotesView, TQ_SIGNAL( currentChanged( TQIconViewItem* ) ), + this, TQ_SLOT( slotOnCurrentChanged( TQIconViewItem* ) ) ); slotOnCurrentChanged( 0 ); @@ -91,10 +91,10 @@ KNotesPart::KNotesPart( TQObject *parent, const char *name ) setXMLFile( "knotes_part.rc" ); // connect the resource manager - connect( mManager, TQT_SIGNAL( sigRegisteredNote( KCal::Journal* ) ), - this, TQT_SLOT( createNote( KCal::Journal* ) ) ); - connect( mManager, TQT_SIGNAL( sigDeregisteredNote( KCal::Journal* ) ), - this, TQT_SLOT( killNote( KCal::Journal* ) ) ); + connect( mManager, TQ_SIGNAL( sigRegisteredNote( KCal::Journal* ) ), + this, TQ_SLOT( createNote( KCal::Journal* ) ) ); + connect( mManager, TQ_SIGNAL( sigDeregisteredNote( KCal::Journal* ) ), + this, TQ_SLOT( killNote( KCal::Journal* ) ) ); // read the notes mManager->load(); @@ -274,6 +274,14 @@ TQMap<TQString, TQString> KNotesPart::notes() const return notes; } +TQDateTime KNotesPart::getLastModified( const TQString& id ) const +{ + KNotesIconViewItem *note = mNoteList[ id ]; + TQDateTime dt; + if ( note ) + dt = note->journal()->lastModified(); + return dt; +} // private stuff diff --git a/kontact/plugins/knotes/knotes_part.h b/kontact/plugins/knotes/knotes_part.h index 023a78b9..62766b1f 100644 --- a/kontact/plugins/knotes/knotes_part.h +++ b/kontact/plugins/knotes/knotes_part.h @@ -46,7 +46,7 @@ class Journal; class KNotesPart : public KParts::ReadOnlyPart, virtual public KNotesIface { - Q_OBJECT + TQ_OBJECT public: @@ -72,6 +72,8 @@ class KNotesPart : public KParts::ReadOnlyPart, virtual public KNotesIface TQMap<TQString, TQString> notes() const; + TQDateTime getLastModified( const TQString& id ) const; + private slots: void createNote( KCal::Journal *journal ); void killNote( KCal::Journal *journal ); diff --git a/kontact/plugins/knotes/knotes_part_p.h b/kontact/plugins/knotes/knotes_part_p.h index aa5b602c..735f492e 100644 --- a/kontact/plugins/knotes/knotes_part_p.h +++ b/kontact/plugins/knotes/knotes_part_p.h @@ -71,7 +71,7 @@ class KNotesIconViewItem : public TDEIconViewItem TQPixmap icon = TDEGlobal::iconLoader()->loadIcon( "knotes", TDEIcon::Desktop ); icon = effect.apply( icon, TDEIconEffect::Colorize, 1, color, false ); setPixmap( icon ); - setText( journal->summary() ); + TDEIconViewItem::setText( journal->summary() ); } KCal::Journal *journal() @@ -114,7 +114,7 @@ class KNotesIconView : public TDEIconView class KNoteEditDlg : public KDialogBase, virtual public KXMLGUIClient { - Q_OBJECT + TQ_OBJECT public: @@ -144,7 +144,7 @@ class KNoteEditDlg : public KDialogBase, virtual public KXMLGUIClient mNoteEdit->setFocus(); KXMLGUIBuilder builder( page ); - KXMLGUIFactory factory( &builder, TQT_TQOBJECT(this) ); + KXMLGUIFactory factory( &builder, this ); factory.addClient( this ); mTool = static_cast<TDEToolBar *>(factory.container( "note_tool", this )); diff --git a/kontact/plugins/knotes/knotes_plugin.cpp b/kontact/plugins/knotes/knotes_plugin.cpp index fceeb65b..1b66eea1 100644 --- a/kontact/plugins/knotes/knotes_plugin.cpp +++ b/kontact/plugins/knotes/knotes_plugin.cpp @@ -39,15 +39,15 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_knotesplugin, KNotesPlugin::KNotesPlugin( Kontact::Core *core, const char *, const TQStringList & ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), "knotes" ), + : Kontact::Plugin( core, core, "knotes" ), mAboutData( 0 ) { setInstance( KNotesPluginFactory::instance() ); insertNewAction( new TDEAction( i18n( "New Note..." ), "knotes", CTRL+SHIFT+Key_N, - this, TQT_SLOT( slotNewNote() ), actionCollection(), "new_note" ) ); + this, TQ_SLOT( slotNewNote() ), actionCollection(), "new_note" ) ); insertSyncAction( new TDEAction( i18n( "Synchronize Notes" ), "reload", 0, - this, TQT_SLOT( slotSyncNotes() ), actionCollection(), "knotes_sync" ) ); + this, TQ_SLOT( slotSyncNotes() ), actionCollection(), "knotes_sync" ) ); } KNotesPlugin::~KNotesPlugin() @@ -70,9 +70,10 @@ const TDEAboutData *KNotesPlugin::aboutData() mAboutData = new TDEAboutData( "knotes", I18N_NOOP( "Notes Management" ), "0.5", I18N_NOOP( "Notes Management" ), TDEAboutData::License_GPL_V2, - "(c) 2003-2004 The Kontact developers" ); - mAboutData->addAuthor( "Michael Brade", "Current Maintainer", "brade@kde.org" ); + "(c) 2003-2020 The Kontact developers" ); + mAboutData->addAuthor( "Michael Brade", "", "brade@kde.org" ); mAboutData->addAuthor( "Tobias Koenig", "", "tokoe@kde.org" ); + mAboutData->addAuthor( "TDE Team", "", "trinitydesktop.org" ); } return mAboutData; diff --git a/kontact/plugins/knotes/knotes_plugin.h b/kontact/plugins/knotes/knotes_plugin.h index 069f10fb..1bde9e63 100644 --- a/kontact/plugins/knotes/knotes_plugin.h +++ b/kontact/plugins/knotes/knotes_plugin.h @@ -31,7 +31,7 @@ class SummaryWidget; class KNotesPlugin : public Kontact::Plugin { - Q_OBJECT + TQ_OBJECT public: KNotesPlugin( Kontact::Core *core, const char *name, const TQStringList& ); diff --git a/kontact/plugins/knotes/knotesplugin.desktop b/kontact/plugins/knotes/knotesplugin.desktop index e1af4cdc..2c8d5045 100644 --- a/kontact/plugins/knotes/knotesplugin.desktop +++ b/kontact/plugins/knotes/knotesplugin.desktop @@ -13,75 +13,6 @@ X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-License=LGPL X-TDE-PluginInfo-EnabledByDefault=true -Comment=Notes Component (KNotes Plugin) -Comment[bg]=Приставка за бележки -Comment[ca]=Component de notes (endollable del KNotes) -Comment[da]=Notatkomponent (KNotes-plugin) -Comment[de]=Notizen-Komponente (KNotes-Modul) -Comment[el]=Συσταικό σημειώσεων (Πρόσθετο του KNotes) -Comment[et]=Märkmete plugin (KNotes) -Comment[it]=Componente note (plugin KNotes) -Comment[ja]=メモコンポーネント (KNotes プラグイン) -Comment[nds]=Notizen-Komponent (KNotes-Moduul) -Comment[nl]=Notitiecomponent (KNotes-plugin) -Comment[pl]=Składnik notatek (wtyczka KNotes) -Comment[sr]=Компонента белешки (прикључак KNotes-а) -Comment[sr@Latn]=Komponenta beleški (priključak KNotes-a) -Comment[sv]=Anteckningskomponent (Knotes-insticksprogram) -Comment[zh_CN]=便笺组件(KNotes 插件) -Comment[zh_TW]=便條組件(KNotes 外掛程式) Name=Notes -Name[af]=Notas -Name[ar]=الملاحظات -Name[be]=Нататкі -Name[bg]=Бележки -Name[br]=Notennoù -Name[bs]=Bilješke -Name[cs]=Poznámky -Name[cy]=Nodiadau -Name[da]=Noter -Name[de]=Notizen -Name[el]=Σημειώσεις -Name[eo]=Notoj -Name[es]=Notas -Name[et]=Märkmed -Name[eu]=Oharrak -Name[fa]=یادداشتها -Name[fi]=Muistio -Name[fy]=Notysjes -Name[ga]=Nótaí -Name[gl]=Notas -Name[he]=פתקים -Name[hi]=टीप -Name[hu]=Feljegyzések -Name[is]=Minnismiðar -Name[it]=Note -Name[ja]=メモ -Name[kk]=Жазбалар -Name[km]=ចំណាំ -Name[lt]=Užrašai -Name[mk]=Белешки -Name[ms]=Nota -Name[nds]=Notizen -Name[ne]=टिपोट -Name[nl]=Notities -Name[nn]=Notat -Name[pl]=Notatki -Name[pt]=Notas -Name[pt_BR]=Notas -Name[ro]=Notiţe -Name[ru]=Заметки -Name[se]=Nohtat -Name[sk]=Poznámky -Name[sl]=Notice -Name[sr]=Белешке -Name[sr@Latn]=Beleške -Name[sv]=Anteckningar -Name[ta]=குறிப்புகள் -Name[tg]=Ахборот -Name[th]=บันทึกช่วยจำ -Name[tr]=Notlar -Name[uk]=Примітки -Name[uz]=Ёзма хотира -Name[zh_CN]=便笺 -Name[zh_TW]=備忘錄 + +Comment=Notes Component (KNotes Plugin) diff --git a/kontact/plugins/knotes/knotetip.cpp b/kontact/plugins/knotes/knotetip.cpp index 97bd771f..dfa469bc 100644 --- a/kontact/plugins/knotes/knotetip.cpp +++ b/kontact/plugins/knotes/knotetip.cpp @@ -75,7 +75,7 @@ void KNoteTip::setNote( KNotesIconViewItem *item ) mNoteIVI = item; if ( !mNoteIVI ) { - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); if ( isVisible() ) { setFilter( false ); hide(); @@ -104,7 +104,7 @@ void KNoteTip::setNote( KNotesIconViewItem *item ) resize( w, TQMIN( h, desk.height() / 2 - 20 ) ); hide(); - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); setFilter( true ); startTimer( 600 ); // delay showing the tooltip for 0.7 sec } @@ -121,7 +121,7 @@ void KNoteTip::resizeEvent( TQResizeEvent *ev ) void KNoteTip::timerEvent( TQTimerEvent * ) { - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); if ( !isVisible() ) { startTimer( 15000 ); // show the tooltip for 15 sec @@ -144,7 +144,7 @@ bool KNoteTip::eventFilter( TQObject *, TQEvent *e ) case TQEvent::FocusIn: case TQEvent::FocusOut: case TQEvent::Wheel: - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); setFilter( false ); hide(); default: diff --git a/kontact/plugins/knotes/summarywidget.cpp b/kontact/plugins/knotes/summarywidget.cpp index ca0f6ae5..89ae1ec1 100644 --- a/kontact/plugins/knotes/summarywidget.cpp +++ b/kontact/plugins/knotes/summarywidget.cpp @@ -61,10 +61,10 @@ KNotesSummaryWidget::KNotesSummaryWidget( Kontact::Plugin *plugin, mCalendar = new KCal::CalendarLocal( TQString::fromLatin1("UTC") ); KNotesResourceManager *manager = new KNotesResourceManager(); - TQObject::connect( manager, TQT_SIGNAL( sigRegisteredNote( KCal::Journal* ) ), - this, TQT_SLOT( addNote( KCal::Journal* ) ) ); - TQObject::connect( manager, TQT_SIGNAL( sigDeregisteredNote( KCal::Journal* ) ), - this, TQT_SLOT( removeNote( KCal::Journal* ) ) ); + TQObject::connect( manager, TQ_SIGNAL( sigRegisteredNote( KCal::Journal* ) ), + this, TQ_SLOT( addNote( KCal::Journal* ) ) ); + TQObject::connect( manager, TQ_SIGNAL( sigDeregisteredNote( KCal::Journal* ) ), + this, TQ_SLOT( removeNote( KCal::Journal* ) ) ); manager->load(); @@ -111,8 +111,8 @@ void KNotesSummaryWidget::updateView() TQToolTip::add( urlLabel, (*it)->description().left( 80 ) ); } - connect( urlLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ), - this, TQT_SLOT( urlClicked( const TQString& ) ) ); + connect( urlLabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), + this, TQ_SLOT( urlClicked( const TQString& ) ) ); counter++; } @@ -138,7 +138,7 @@ void KNotesSummaryWidget::urlClicked( const TQString &/*uid*/ ) bool KNotesSummaryWidget::eventFilter( TQObject *obj, TQEvent* e ) { if ( obj->inherits( "KURLLabel" ) ) { - KURLLabel* label = static_cast<KURLLabel*>( TQT_TQWIDGET(obj) ); + KURLLabel* label = static_cast<KURLLabel*>( obj ); if ( e->type() == TQEvent::Enter ) emit message( i18n( "Read Note: \"%1\"" ).arg( label->text() ) ); if ( e->type() == TQEvent::Leave ) diff --git a/kontact/plugins/knotes/summarywidget.h b/kontact/plugins/knotes/summarywidget.h index 305873d7..1ac015f4 100644 --- a/kontact/plugins/knotes/summarywidget.h +++ b/kontact/plugins/knotes/summarywidget.h @@ -42,7 +42,7 @@ namespace Kontact { class KNotesSummaryWidget : public Kontact::Summary { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/korganizer/CMakeLists.txt b/kontact/plugins/korganizer/CMakeLists.txt index fb270e85..6c0fa7d3 100644 --- a/kontact/plugins/korganizer/CMakeLists.txt +++ b/kontact/plugins/korganizer/CMakeLists.txt @@ -30,13 +30,17 @@ link_directories( ##### other data ################################ -install( FILES - korganizerplugin.desktop todoplugin.desktop journalplugin.desktop - DESTINATION ${SERVICES_INSTALL_DIR}/kontact ) +tde_create_translated_desktop( + SOURCE korganizerplugin.desktop todoplugin.desktop journalplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kontact + PO_DIR kontact-desktops +) -install( FILES - kcmkorgsummary.desktop - DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kcmkorgsummary.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kontact-desktops +) ##### libkontact_korganizerplugin (module) ###### diff --git a/kontact/plugins/korganizer/journalplugin.cpp b/kontact/plugins/korganizer/journalplugin.cpp index ac3b7735..a028d937 100644 --- a/kontact/plugins/korganizer/journalplugin.cpp +++ b/kontact/plugins/korganizer/journalplugin.cpp @@ -43,17 +43,17 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_journalplugin, JournalPluginFactory( "kontact_journalplugin" ) ) JournalPlugin::JournalPlugin( Kontact::Core *core, const char *, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), "korganizer" ), + : Kontact::Plugin( core, core, "korganizer" ), mIface( 0 ) { setInstance( JournalPluginFactory::instance() ); instance()->iconLoader()->addAppDir("tdepim"); insertNewAction( new TDEAction( i18n( "New Journal..." ), "newjournal", - CTRL+SHIFT+Key_J, this, TQT_SLOT( slotNewJournal() ), actionCollection(), + CTRL+SHIFT+Key_J, this, TQ_SLOT( slotNewJournal() ), actionCollection(), "new_journal" ) ); insertSyncAction( new TDEAction( i18n( "Synchronize Journal" ), "reload", - 0, this, TQT_SLOT( slotSyncJournal() ), actionCollection(), + 0, this, TQ_SLOT( slotSyncJournal() ), actionCollection(), "journal_sync" ) ); diff --git a/kontact/plugins/korganizer/journalplugin.desktop b/kontact/plugins/korganizer/journalplugin.desktop index 2a6bda5b..ae991064 100644 --- a/kontact/plugins/korganizer/journalplugin.desktop +++ b/kontact/plugins/korganizer/journalplugin.desktop @@ -15,67 +15,6 @@ X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=true -Comment=Journal Component (KOrganizer Plugin) -Comment[bg]=Приставка за KOrganizer -Comment[ca]=Component de diari (endollable del KOrganizer) -Comment[da]=Journalkomponent (KOrganizer-plugin) -Comment[de]=Journal-Komponente (KOrganizer-Modul) -Comment[el]=Συστατικό χρονικών (Πρόσθετο του KOrganizer) -Comment[et]=Päevikuplugin (KOrganizer) -Comment[it]=Componente diario (plugin KOrganizer) -Comment[ja]=ジャーナルコンポーネント (KOrganizer プラグイン) -Comment[nds]=Daagböker-Komponent (KOrganizer-Moduul) -Comment[nl]=Journaalcomponent (KOrganizer-plugin) -Comment[pl]=Składnik dziennika (wtyczka Korganizer) -Comment[sr]=Компонента дневника (прикључак KOrganizer-а) -Comment[sr@Latn]=Komponenta dnevnika (priključak KOrganizer-a) -Comment[sv]=Journalkomponent (Korganizer-insticksprogram) -Comment[zh_CN]=日记组件(KOrganizer 插件) -Comment[zh_TW]=日誌組件(KOrganizer 外掛程式) Name=Journal -Name[af]=Joernaal -Name[ar]=اليومية -Name[bg]=Дневник -Name[br]=Deizlevr -Name[ca]=Diari -Name[cs]=Deník -Name[cy]=Dyddlyfr -Name[el]=Χρονικό -Name[eo]=Ĵurnalo -Name[es]=Diario -Name[et]=Päevik -Name[eu]=Egunkaria -Name[fa]=نشریه -Name[fi]=Päiväkirja -Name[fy]=Journaal -Name[ga]=Iris -Name[gl]=Xornal -Name[he]=יומן -Name[hu]=Napló -Name[is]=Dagbók -Name[it]=Diario -Name[ja]=ジャーナル -Name[kk]=Күнделік -Name[km]=ទិនានុប្បវត្តិ -Name[lt]=Dienynas -Name[ms]=Jurnal -Name[nb]=Dagbok -Name[nds]=Daagbook -Name[ne]=जर्नल -Name[nl]=Journaal -Name[nn]=Dagbok -Name[pl]=Dziennik -Name[pt]=Diário -Name[pt_BR]=Diário -Name[ru]=Журнал -Name[sk]=Žurnál -Name[sl]=Dnevnik -Name[sr]=Дневник -Name[sr@Latn]=Dnevnik -Name[ta]=பத்திரிகை -Name[th]=วารสาร -Name[tr]=Günlük -Name[uk]=Журнал -Name[uz]=Кундалик -Name[zh_CN]=日记 -Name[zh_TW]=日誌 + +Comment=Journal Component (KOrganizer Plugin) diff --git a/kontact/plugins/korganizer/journalplugin.h b/kontact/plugins/korganizer/journalplugin.h index f7d0a465..25106164 100644 --- a/kontact/plugins/korganizer/journalplugin.h +++ b/kontact/plugins/korganizer/journalplugin.h @@ -33,7 +33,7 @@ class JournalPlugin : public Kontact::Plugin { - Q_OBJECT + TQ_OBJECT public: JournalPlugin( Kontact::Core *core, const char *name, const TQStringList& ); diff --git a/kontact/plugins/korganizer/kcmkorgsummary.cpp b/kontact/plugins/korganizer/kcmkorgsummary.cpp index 0f17435c..7e2dd0a3 100644 --- a/kontact/plugins/korganizer/kcmkorgsummary.cpp +++ b/kontact/plugins/korganizer/kcmkorgsummary.cpp @@ -37,11 +37,11 @@ #include "kcmkorgsummary.h" -#include <tdepimmacros.h> +#include <kdemacros.h> extern "C" { - KDE_EXPORT TDECModule *create_korgsummary( TQWidget *parent, const char * ) + TDE_EXPORT TDECModule *create_korgsummary( TQWidget *parent, const char * ) { return new KCMKOrgSummary( parent, "kcmkorgsummary" ); } @@ -54,11 +54,11 @@ KCMKOrgSummary::KCMKOrgSummary( TQWidget *parent, const char *name ) customDaysChanged( 1 ); - connect( mCalendarGroup, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( modified() ) ); - connect( mCalendarGroup, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( buttonClicked( int ) ) ); - connect( mTodoGroup, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( modified() ) ); - connect( mCustomDays, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( modified() ) ); - connect( mCustomDays, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( customDaysChanged( int ) ) ); + connect( mCalendarGroup, TQ_SIGNAL( clicked( int ) ), TQ_SLOT( modified() ) ); + connect( mCalendarGroup, TQ_SIGNAL( clicked( int ) ), TQ_SLOT( buttonClicked( int ) ) ); + connect( mTodoGroup, TQ_SIGNAL( clicked( int ) ), TQ_SLOT( modified() ) ); + connect( mCustomDays, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( modified() ) ); + connect( mCustomDays, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( customDaysChanged( int ) ) ); TDEAcceleratorManager::manage( this ); @@ -92,7 +92,7 @@ void KCMKOrgSummary::initGUI() { TQVBoxLayout *layout = new TQVBoxLayout( this, 0, KDialog::spacingHint() ); - mCalendarGroup = new TQButtonGroup( 0, Qt::Vertical, i18n( "Appointments" ), this ); + mCalendarGroup = new TQButtonGroup( 0, TQt::Vertical, i18n( "Appointments" ), this ); TQVBoxLayout *boxLayout = new TQVBoxLayout( mCalendarGroup->layout(), KDialog::spacingHint() ); @@ -124,7 +124,7 @@ void KCMKOrgSummary::initGUI() layout->addWidget( mCalendarGroup ); - mTodoGroup = new TQButtonGroup( 2, Qt::Horizontal, i18n( "To-dos" ), this ); + mTodoGroup = new TQButtonGroup( 2, TQt::Horizontal, i18n( "To-dos" ), this ); new TQRadioButton( i18n( "Show all to-dos" ), mTodoGroup ); new TQRadioButton( i18n( "Show today's to-dos only" ), mTodoGroup ); diff --git a/kontact/plugins/korganizer/kcmkorgsummary.desktop b/kontact/plugins/korganizer/kcmkorgsummary.desktop index ee425fb7..1092f829 100644 --- a/kontact/plugins/korganizer/kcmkorgsummary.desktop +++ b/kontact/plugins/korganizer/kcmkorgsummary.desktop @@ -11,107 +11,7 @@ X-TDE-ParentComponents=kontact_korganizerplugin,kontact_todoplugin X-TDE-CfgDlgHierarchy=KontactSummary Name=Appointment and To-do Overview -Name[bg]=Преглед на срещи и задачи -Name[ca]=Resum de cites i tasques pendents -Name[da]=Oversigt over møder og gøremål -Name[de]=Übersicht über Termine und Aufgaben -Name[el]=Επισκόπηση ραντεβού και προς υλοποίηση εργασιών -Name[et]=Kohtumised ja ülesannete ülevaade -Name[it]=Panoramica appuntamenti e cose da fare -Name[ja]=約束と To-Do の要約 -Name[nds]=Termin- un Opgaven-Översicht -Name[nl]=Overzicht van evenementen en taken -Name[pl]=Spotkania i zadania -Name[sr]=Преглед састанака и обавеза -Name[sr@Latn]=Pregled sastanaka i obaveza -Name[sv]=Översikt av möten och uppgifter -Name[zh_CN]=约会和待办概览 -Name[zh_TW]=約會與待辦事項概觀 + Comment=Appointments and To-dos Summary Setup -Comment[af]=Afsprake en te-doen opsomming opstelling -Comment[bg]=Приставка за обобщен преглед на срещите и задачите -Comment[ca]=Configuració del resum de cites i tasques pendents -Comment[cs]=Nastavení souhrnu schůzek a úkolů -Comment[da]=Indstilling af oversigt over møder og gøremål -Comment[de]=Einstellung der Übersicht über Termine und Aufgaben -Comment[el]=Ρύθμιση ραντεβού και προς υλοποίηση εργασιών -Comment[es]=Configuración del resumen de citas y de tareas pendientes -Comment[et]=Kohtumiste ja ülesannete kokkuvõtte seadistus -Comment[eu]=Hitzordu eta egitekoen laburpenen konfigurazioa -Comment[fa]=برپایی خلاصۀ قرار ملاقاتها و کارهایی که باید انجام شوند -Comment[fi]=Tapaamiset ja tehtävät -yhteenvedon asetukset -Comment[fr]=Configuration du résumé des évènements et des tâches -Comment[fy]=Oersichtsynstellings foar eveneminten en taken -Comment[gl]=Configuración de sumarios de tarefas e notas -Comment[hu]=A találkozók és feladatok áttekintőjének beállítása -Comment[is]=Uppsetning á yfirliti yfir fundi og verkþætti -Comment[it]=Impostazioni sommario appuntamenti e cose da fare -Comment[ja]=約束と To-Do の要約設定 -Comment[kk]=Кездесулер мен Жоспарлар тұжырымының баптау -Comment[km]=រៀបចំសេចក្ដីសង្ខេបការណាត់ និងការងារត្រូវធ្វើ -Comment[lt]=Susitikimų ir užduočių santraukos nustatymai -Comment[mk]=Поставување на преглед за состаноци и задачи -Comment[nb]=Oppsett av sammendraget av gjøremål og avtaler -Comment[nds]=Termin- un Opgaven-Översicht instellen -Comment[ne]=भेटघाट र गर्नुपर्ने कार्यहरूको सारांश सेटअप -Comment[nl]=Overzichtsinstellingen voor evenementen en taken -Comment[nn]=Oppsett av samandrag av avtalar og oppgåver -Comment[pl]=Ustawienia podsumowania spotkań i zadań -Comment[pt]=Configuração do Sumário de Compromissos e A-fazeres -Comment[pt_BR]=Configuração do Resumo de Compromissos e Tarefas -Comment[ru]=Настройка показа встреч и задач -Comment[sk]=Nastavenie súhrnu pripomienok a úloh -Comment[sl]=Nastavitve povzetka sestankov in opravil -Comment[sr]=Подешавање сажетка састанака и обавеза -Comment[sr@Latn]=Podešavanje sažetka sastanaka i obaveza -Comment[sv]=Inställning av översikt av möten och uppgifter -Comment[tr]=Özel Günler ve Yapılacaklar Listesi Yapılandırması -Comment[uk]=Налаштування зведення зустрічей і завдань -Comment[zh_CN]=约会和待办摘要设置 -Comment[zh_TW]=約會與待辦事項摘要設定 + Keywords=calendar; todos; configure; settings; -Keywords[af]=calendar;todos;configure;settings; -Keywords[be]=каляндар; заданні; настроіць; настаўленні; calendar; todos; configure; settings; -Keywords[bg]=календар; задачи; организатор; calendar; todos; configure; settings; -Keywords[bs]=calendar; todos; configure; settings; kalendar; zadaci; postavke; -Keywords[ca]=calendari; pendents; configuració; arranjament; -Keywords[cs]=kalendář;úkoly;nastavit;nastavení; -Keywords[da]=kalender; gøremål; indstil; opsætning; -Keywords[de]=Kalender;Aufgaben;einstellen;Einstellungen;Einrichten; -Keywords[el]=ημερολόγιο; προς υλοποίηση; ρύθμιση; ρυθμίσεις; -Keywords[es]=calendario; tareas pendientes; configurar; opciones; -Keywords[et]=kalender; ülesanded; seadistamine; seadistused; -Keywords[eu]=egutegia; egitekoak; konfiguratu; ezarpenak; -Keywords[fa]=تقویم، کارهای انجامی، پیکربندی، تنظیمات; -Keywords[fi]=kalenteri; tehtävät; muokkaa; asetukset; -Keywords[fr]=calendrier;agenda;tâches;configurer;paramètres;paramètre; -Keywords[fy]=kalinder;aginda;taken;todo;ynstellings;konfiguraasje; -Keywords[ga]=féilire; tascanna; cumraigh; socruithe; -Keywords[gl]=calendario; pendentes; configurar; opcións; -Keywords[he]=calendar; todos; configure; settings; יומן; יומנים; משימות; מטלות; הגדרות; תצורה; -Keywords[hu]=naptár;feladatok;konfigurálás;beállítások; -Keywords[is]=dagatal; verkþættir; stillingar; stilla; -Keywords[it]=calendario; cose da fare; configura; impostazioni; -Keywords[ja]=カレンダー; To-Do; 設定; -Keywords[km]=ប្រតិទិន;ការងារត្រូវធ្វើ;កំណត់រចនាសម្ព័ន្ធ;ការកំណត់; -Keywords[lt]=calendar; todos; configure; settings; kalendorius; darbai; konfigūruoti; nustatymai; -Keywords[ms]=kalendar; tugasan; konfigur; seting; -Keywords[nb]=kalender; gjørelister; oppsett; innstillinger; -Keywords[nds]=Kalenner;Opgaven;Opgaav;instellen;Mööt;Möten; -Keywords[ne]=क्यालेन्डर; गर्नुपर्ने कार्यहरू; कन्फिगर; सेटिङ; -Keywords[nl]=kalender;agenda;taken;todo;instellingen;configuratie; -Keywords[nn]=kalender;hugselister;oppsett;innstillingar; -Keywords[pl]=kalendarz;do zrobienia;konfiguracja;ustawienia; -Keywords[pt]=calendário; a fazer; configurar; configuração; -Keywords[pt_BR]=calendário; pendências; configurar; configurações; -Keywords[ru]=calendar;todos;configure;settings;настройка;календарь;задачи; -Keywords[sk]=kalendár;úlohy;nastavenie; -Keywords[sl]=koledar;za narediti;nastavitve;nastavi; -Keywords[sr]=calendar; todos; configure; settings; календар; послови; подеси; поставке; -Keywords[sr@Latn]=calendar; todos; configure; settings; kalendar; poslovi; podesi; postavke; -Keywords[sv]=kalender; uppgifter; anpassa; inställningar; -Keywords[ta]=நாள்காட்டி;செய்யவேண்டியவைகள்;கட்டமைப்பு;அமைவுகள்; -Keywords[tg]=calendar; todos; configure; settings;танзимот; тақвим;вазифа; -Keywords[tr]=takvim; yapılacaklar; yapılandır; yapılandırma; -Keywords[uk]=календар; завдання; налаштування; параметри; -Keywords[zh_CN]=calendar; todos; configure; settings; 日历; 待办事项; 配置; 设置; diff --git a/kontact/plugins/korganizer/kcmkorgsummary.h b/kontact/plugins/korganizer/kcmkorgsummary.h index 18db1df7..ce451f4e 100644 --- a/kontact/plugins/korganizer/kcmkorgsummary.h +++ b/kontact/plugins/korganizer/kcmkorgsummary.h @@ -31,7 +31,7 @@ class TQButtonGroup; class KCMKOrgSummary : public TDECModule { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/korganizer/korganizerplugin.cpp b/kontact/plugins/korganizer/korganizerplugin.cpp index b25016aa..475c64a9 100644 --- a/kontact/plugins/korganizer/korganizerplugin.cpp +++ b/kontact/plugins/korganizer/korganizerplugin.cpp @@ -57,7 +57,7 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_korganizerplugin, KOrganizerPluginFactory( "kontact_korganizerplugin" ) ) KOrganizerPlugin::KOrganizerPlugin( Kontact::Core *core, const char *, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), "korganizer" ), + : Kontact::Plugin( core, core, "korganizer" ), mIface( 0 ) { @@ -65,11 +65,11 @@ KOrganizerPlugin::KOrganizerPlugin( Kontact::Core *core, const char *, const TQS instance()->iconLoader()->addAppDir("tdepim"); insertNewAction( new TDEAction( i18n( "New Event..." ), "newappointment", - CTRL+SHIFT+Key_E, this, TQT_SLOT( slotNewEvent() ), actionCollection(), + CTRL+SHIFT+Key_E, this, TQ_SLOT( slotNewEvent() ), actionCollection(), "new_event" ) ); insertSyncAction( new TDEAction( i18n( "Synchronize Calendar" ), "reload", - 0, this, TQT_SLOT( slotSyncEvents() ), actionCollection(), + 0, this, TQ_SLOT( slotSyncEvents() ), actionCollection(), "korganizer_sync" ) ); mUniqueAppWatcher = new Kontact::UniqueAppWatcher( diff --git a/kontact/plugins/korganizer/korganizerplugin.desktop b/kontact/plugins/korganizer/korganizerplugin.desktop index 69391f0c..c3d0d9ad 100644 --- a/kontact/plugins/korganizer/korganizerplugin.desktop +++ b/kontact/plugins/korganizer/korganizerplugin.desktop @@ -15,78 +15,6 @@ X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=true -Comment=Calendar Component (KOrganizer Plugin) -Comment[bg]=Приставка за KOrganizer -Comment[ca]=Component de calendari (endollable del KOrganizer) -Comment[da]=Kalenderkomponent (KOrganizer-plugin) -Comment[de]=Kalender-Komponente (KOrganizer-Modul) -Comment[el]=Συστατικό ημερολογίου (Πρόσθετο του KOrganizer) -Comment[et]=Kalendriplugin (KOrganizer) -Comment[it]=Componente calendario (plugin KOrganizer) -Comment[ja]=カレンダーコンポーネント (KOrganizer プラグイン) -Comment[nds]=Kalenner-Komponent (KOrganizer-Moduul) -Comment[nl]=Agendacomponent (KOrganizer-plugin) -Comment[pl]=Składnik kalendarza (wtyczka KOrganizer) -Comment[sr]=Компонента календара (прикључак KOrganizer-а) -Comment[sr@Latn]=Komponenta kalendara (priključak KOrganizer-a) -Comment[sv]=Kalenderkomponent (Korganizer-insticksprogram) -Comment[zh_CN]=日历组件(KOrganizer 插件) -Comment[zh_TW]=行事曆組件(KOrganizer 外掛程式) Name=Calendar -Name[af]=Kalender -Name[ar]=التقويم -Name[be]=Каляндар -Name[bg]=Календар -Name[br]=Deiziadur -Name[bs]=Kalendar -Name[ca]=Calendari -Name[cs]=Kalendář -Name[cy]=Calendr -Name[da]=Kalender -Name[de]=Kalender -Name[el]=Ημερολόγιο -Name[eo]=Kalendaro -Name[es]=Calendario -Name[et]=Kalender -Name[eu]=Egutegia -Name[fa]=تقویم -Name[fi]=Kalenteri -Name[fr]=Calendrier -Name[fy]=Aginda -Name[ga]=Féilire -Name[gl]=Calendario -Name[he]=לוח שנה -Name[hi]=कैलेन्डर -Name[hu]=Naptár -Name[is]=Dagatal -Name[it]=Calendario -Name[ja]=カレンダー -Name[kk]=Күнтізбе -Name[km]=ប្រតិទិន -Name[lt]=Kalendorius -Name[mk]=Календар -Name[ms]=Kalendar -Name[nb]=Kalender -Name[nds]=Kalenner -Name[ne]=क्यालेन्डर -Name[nl]=Agenda -Name[nn]=Kalender -Name[pa]=ਕੈਲੰਡਰ -Name[pl]=Kalendarz -Name[pt]=Calendário -Name[pt_BR]=Calendário -Name[ru]=Календарь -Name[se]=Kaleandar -Name[sk]=Kalendár -Name[sl]=Koledar -Name[sr]=Календар -Name[sr@Latn]=Kalendar -Name[sv]=Kalender -Name[ta]=நாள்காட்டி -Name[tg]=Тақвим -Name[th]=บันทึกประจำวัน -Name[tr]=Takvim -Name[uk]=Календар -Name[uz]=Календар -Name[zh_CN]=日历 -Name[zh_TW]=行事曆 + +Comment=Calendar Component (KOrganizer Plugin) diff --git a/kontact/plugins/korganizer/korganizerplugin.h b/kontact/plugins/korganizer/korganizerplugin.h index 3aaa4083..d955b3dc 100644 --- a/kontact/plugins/korganizer/korganizerplugin.h +++ b/kontact/plugins/korganizer/korganizerplugin.h @@ -35,7 +35,7 @@ class KOrganizerPlugin : public Kontact::Plugin { - Q_OBJECT + TQ_OBJECT public: KOrganizerPlugin( Kontact::Core *core, const char *name, const TQStringList& ); diff --git a/kontact/plugins/korganizer/summarywidget.cpp b/kontact/plugins/korganizer/summarywidget.cpp index 93b2c2dd..6a3c0432 100644 --- a/kontact/plugins/korganizer/summarywidget.cpp +++ b/kontact/plugins/korganizer/summarywidget.cpp @@ -66,9 +66,9 @@ SummaryWidget::SummaryWidget( KOrganizerPlugin *plugin, TQWidget *parent, mCalendar = KOrg::StdCalendar::self(); - connect( mCalendar, TQT_SIGNAL( calendarChanged() ), TQT_SLOT( updateView() ) ); - connect( mPlugin->core(), TQT_SIGNAL( dayChanged( const TQDate& ) ), - TQT_SLOT( updateView() ) ); + connect( mCalendar, TQ_SIGNAL( calendarChanged() ), TQ_SLOT( updateView() ) ); + connect( mPlugin->core(), TQ_SIGNAL( dayChanged( const TQDate& ) ), + TQ_SLOT( updateView() ) ); updateView(); } @@ -202,10 +202,10 @@ void SummaryWidget::updateView() mLayout->addWidget( urlLabel, counter, 2 ); mLabels.append( urlLabel ); - connect( urlLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ), - this, TQT_SLOT( viewEvent( const TQString& ) ) ); - connect( urlLabel, TQT_SIGNAL( rightClickedURL( const TQString& ) ), - this, TQT_SLOT( popupMenu( const TQString& ) ) ); + connect( urlLabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), + this, TQ_SLOT( viewEvent( const TQString& ) ) ); + connect( urlLabel, TQ_SIGNAL( rightClickedURL( const TQString& ) ), + this, TQ_SLOT( popupMenu( const TQString& ) ) ); TQString tipText( KCal::IncidenceFormatter::toolTipStr( mCalendar, ev, dt, true ) ); if ( !tipText.isEmpty() ) { @@ -286,7 +286,7 @@ void SummaryWidget::popupMenu( const TQString &uid ) bool SummaryWidget::eventFilter( TQObject *obj, TQEvent* e ) { if ( obj->inherits( "KURLLabel" ) ) { - KURLLabel* label = static_cast<KURLLabel*>( TQT_TQWIDGET(obj) ); + KURLLabel* label = static_cast<KURLLabel*>( obj ); if ( e->type() == TQEvent::Enter ) emit message( i18n( "Edit Appointment: \"%1\"" ).arg( label->text() ) ); if ( e->type() == TQEvent::Leave ) diff --git a/kontact/plugins/korganizer/summarywidget.h b/kontact/plugins/korganizer/summarywidget.h index 02fc11c4..d0c9353e 100644 --- a/kontact/plugins/korganizer/summarywidget.h +++ b/kontact/plugins/korganizer/summarywidget.h @@ -38,7 +38,7 @@ class KOrganizerPlugin; class SummaryWidget : public Kontact::Summary { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/korganizer/todoplugin.cpp b/kontact/plugins/korganizer/todoplugin.cpp index 885c835a..bcb2c566 100644 --- a/kontact/plugins/korganizer/todoplugin.cpp +++ b/kontact/plugins/korganizer/todoplugin.cpp @@ -55,18 +55,18 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_todoplugin, TodoPluginFactory( "kontact_todoplugin" ) ) TodoPlugin::TodoPlugin( Kontact::Core *core, const char *, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), "korganizer" ), + : Kontact::Plugin( core, core, "korganizer" ), mIface( 0 ) { setInstance( TodoPluginFactory::instance() ); instance()->iconLoader()->addAppDir("tdepim"); insertNewAction( new TDEAction( i18n( "New To-do..." ), "newtodo", - CTRL+SHIFT+Key_T, this, TQT_SLOT( slotNewTodo() ), actionCollection(), + CTRL+SHIFT+Key_T, this, TQ_SLOT( slotNewTodo() ), actionCollection(), "new_todo" ) ); insertSyncAction( new TDEAction( i18n( "Synchronize To-do List" ), "reload", - 0, this, TQT_SLOT( slotSyncTodos() ), actionCollection(), + 0, this, TQ_SLOT( slotSyncTodos() ), actionCollection(), "todo_sync" ) ); mUniqueAppWatcher = new Kontact::UniqueAppWatcher( diff --git a/kontact/plugins/korganizer/todoplugin.desktop b/kontact/plugins/korganizer/todoplugin.desktop index c93e5537..e5085117 100644 --- a/kontact/plugins/korganizer/todoplugin.desktop +++ b/kontact/plugins/korganizer/todoplugin.desktop @@ -15,37 +15,6 @@ X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=true -Comment=To-do List Component (KOrganizer plugin) -Comment[bg]=Приставка за KOrganizer -Comment[ca]=Component de llista de pendents (endollable del KOrganizer) -Comment[da]=Komponent til gøremålsliste (KOrganizer-plugin) -Comment[de]=Aufgabenlisten-Komponente (KOrganizer-Modul) -Comment[el]=Συστατικό λίστα προς υλοποίηση εργασιών (Πρόσθετο του KOrganizer) -Comment[et]=Ülesannete nimekirja plugin (KOrganizer) -Comment[it]=Componente elenco delle cose da fare (plugin KOrganizer) -Comment[ja]=To-Do リストコンポーネント (KOrganizer プラグイン) -Comment[nds]=Opgavenlist-Komponent (KOrganizer-Moduul) -Comment[nl]=Takenlijstcomponent (KOrganizer-plugin) -Comment[pl]=Składnik zadań (wtyczka KOrganizer) -Comment[sr]=Прикључак листе обавеза (прикључак KOrganizer-а) -Comment[sr@Latn]=Priključak liste obaveza (priključak KOrganizer-a) -Comment[sv]=Uppgiftslistkomponent (Korganizer-insticksprogram) -Comment[zh_CN]=待办清单组件(KOrganizer 插件) -Comment[zh_TW]=待辦事項清單組件(KOrganizer 外掛程式) Name=To-do -Name[bg]=Задачи -Name[ca]=Pendents -Name[da]=Gøremål -Name[de]=Aufgaben -Name[el]=Προς υλοποίηση εργασίες -Name[et]=Ülesanded -Name[it]=Cose da fare -Name[ja]=To-Do -Name[nds]=Opgaav -Name[nl]=Takenlijst -Name[pl]=Lista zadań -Name[sr]=Обавезе -Name[sr@Latn]=Obaveze -Name[sv]=Uppgift -Name[zh_CN]=待办清单 -Name[zh_TW]=待辦事項 + +Comment=To-do List Component (KOrganizer plugin) diff --git a/kontact/plugins/korganizer/todoplugin.h b/kontact/plugins/korganizer/todoplugin.h index 4d62a72d..767d0de3 100644 --- a/kontact/plugins/korganizer/todoplugin.h +++ b/kontact/plugins/korganizer/todoplugin.h @@ -33,7 +33,7 @@ class TodoPlugin : public Kontact::Plugin { - Q_OBJECT + TQ_OBJECT public: TodoPlugin( Kontact::Core *core, const char *name, const TQStringList& ); diff --git a/kontact/plugins/korganizer/todosummarywidget.cpp b/kontact/plugins/korganizer/todosummarywidget.cpp index 255ee2ef..bdab72a9 100644 --- a/kontact/plugins/korganizer/todosummarywidget.cpp +++ b/kontact/plugins/korganizer/todosummarywidget.cpp @@ -68,9 +68,9 @@ TodoSummaryWidget::TodoSummaryWidget( TodoPlugin *plugin, mCalendar = KOrg::StdCalendar::self(); - connect( mCalendar, TQT_SIGNAL( calendarChanged() ), TQT_SLOT( updateView() ) ); - connect( mPlugin->core(), TQT_SIGNAL( dayChanged( const TQDate& ) ), - TQT_SLOT( updateView() ) ); + connect( mCalendar, TQ_SIGNAL( calendarChanged() ), TQ_SLOT( updateView() ) ); + connect( mPlugin->core(), TQ_SIGNAL( dayChanged( const TQDate& ) ), + TQ_SLOT( updateView() ) ); updateView(); } @@ -163,10 +163,10 @@ void TodoSummaryWidget::updateView() mLayout->addWidget( urlLabel, counter, 2 ); mLabels.append( urlLabel ); - connect( urlLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ), - this, TQT_SLOT( viewTodo( const TQString& ) ) ); - connect( urlLabel, TQT_SIGNAL( rightClickedURL( const TQString& ) ), - this, TQT_SLOT( popupMenu( const TQString& ) ) ); + connect( urlLabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), + this, TQ_SLOT( viewTodo( const TQString& ) ) ); + connect( urlLabel, TQ_SIGNAL( rightClickedURL( const TQString& ) ), + this, TQ_SLOT( popupMenu( const TQString& ) ) ); TQString tipText( KCal::IncidenceFormatter::toolTipStr( mCalendar, todo, currentDate, true ) ); if ( !tipText.isEmpty() ) { @@ -211,7 +211,7 @@ void TodoSummaryWidget::removeTodo( const TQString &uid ) void TodoSummaryWidget::completeTodo( const TQString &uid ) { KCal::Todo *todo = mCalendar->todo( uid ); - IncidenceChanger *changer = new IncidenceChanger( mCalendar, TQT_TQOBJECT(this) ); + IncidenceChanger *changer = new IncidenceChanger( mCalendar, this ); if ( !todo->isReadOnly() && changer->beginChange( todo, 0, TQString() ) ) { KCal::Todo *oldTodo = todo->clone(); todo->setCompleted( TQDateTime::currentDateTime() ); @@ -251,7 +251,7 @@ void TodoSummaryWidget::popupMenu( const TQString &uid ) bool TodoSummaryWidget::eventFilter( TQObject *obj, TQEvent* e ) { if ( obj->inherits( "KURLLabel" ) ) { - KURLLabel* label = static_cast<KURLLabel*>( TQT_TQWIDGET(obj) ); + KURLLabel* label = static_cast<KURLLabel*>( obj ); if ( e->type() == TQEvent::Enter ) emit message( i18n( "Edit To-do: \"%1\"" ).arg( label->text() ) ); if ( e->type() == TQEvent::Leave ) diff --git a/kontact/plugins/korganizer/todosummarywidget.h b/kontact/plugins/korganizer/todosummarywidget.h index 292444cd..6aa1bc4d 100644 --- a/kontact/plugins/korganizer/todosummarywidget.h +++ b/kontact/plugins/korganizer/todosummarywidget.h @@ -38,7 +38,7 @@ class TodoPlugin; class TodoSummaryWidget : public Kontact::Summary { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/kpilot/kpilot_plugin.cpp b/kontact/plugins/kpilot/kpilot_plugin.cpp index 81053917..9239db85 100644 --- a/kontact/plugins/kpilot/kpilot_plugin.cpp +++ b/kontact/plugins/kpilot/kpilot_plugin.cpp @@ -35,7 +35,7 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_kpilotplugin, KPilotPluginFactory( "kontact_kpilotplugin" ) ) KPilotPlugin::KPilotPlugin( Kontact::Core *core, const char *name, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), "kpilot" ), mAboutData( 0 ) + : Kontact::Plugin( core, core, "kpilot" ), mAboutData( 0 ) { setInstance( KPilotPluginFactory::instance() ); // TODO: Make sure kpilotDaemon is running! diff --git a/kontact/plugins/kpilot/kpilotplugin.desktop b/kontact/plugins/kpilot/kpilotplugin.desktop index 20b1d575..370c3833 100644 --- a/kontact/plugins/kpilot/kpilotplugin.desktop +++ b/kontact/plugins/kpilot/kpilotplugin.desktop @@ -15,25 +15,6 @@ X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=true -Comment=Palm Tools Component (KPilot Plugin) -Comment[bg]=Приставка за KPilot -Comment[ca]=Component d'eines de la Palm (endollable del KPilot) -Comment[da]=Komponent til palm-værktøjer (KPilot-plugin) -Comment[de]=Palm Werkzeuge (KPilot-Modul) -Comment[el]=Συστατικό εργαλείων Palm (Πρόσθετο του KPilot) -Comment[et]=Palmi tööriistade plugin (KPilot) -Comment[it]=Componente strumenti Palm (plugin KPilot) -Comment[ja]=Palm ツールコンポーネント (KPilot プラグイン) -Comment[nds]=Palmreekner-Warktüüchkomponent (KPilot-Moduul) -Comment[nl]=Component met hulpmiddelen voor PalmOS(tm)-apparaten (KPilot-plugin) -Comment[pl]=Składnik narzędzi Palma (wtyczka KPilot) -Comment[sr]=Компонента алата за Palm (прикључак KPilot-а) -Comment[sr@Latn]=Komponenta alata za Palm (priključak KPilot-a) -Comment[sv]=Palm Pilot-verktygskomponent (Kpilot-insticksprogram) -Comment[zh_CN]=Palm 工具组件(KPilot 插件) -Comment[zh_TW]=Palm 工具組件(KPilot 外掛程式) Name=Palm -Name[de]=KPilot-Einrichtung -Name[nds]=Palmreekner -Name[nl]=PalmOS(tm)-apparaat -Name[sv]=Palm Pilot + +Comment=Palm Tools Component (KPilot Plugin) diff --git a/kontact/plugins/kpilot/summarywidget.cpp b/kontact/plugins/kpilot/summarywidget.cpp index 9ab256d2..cc91632f 100644 --- a/kontact/plugins/kpilot/summarywidget.cpp +++ b/kontact/plugins/kpilot/summarywidget.cpp @@ -71,8 +71,8 @@ SummaryWidget::SummaryWidget( TQWidget *parent, const char *name ) mLayout->addWidget( mSyncTimeLabel, row, 1 ); mShowSyncLogLabel = new KURLLabel( "", i18n( "[View Sync Log]" ), this ); mLayout->addWidget( mShowSyncLogLabel, row, 3 ); - connect( mShowSyncLogLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ), - this, TQT_SLOT( showSyncLog( const TQString& ) ) ); + connect( mShowSyncLogLabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), + this, TQ_SLOT( showSyncLog( const TQString& ) ) ); // User row++; @@ -110,8 +110,8 @@ SummaryWidget::SummaryWidget( TQWidget *parent, const char *name ) mLayout->addMultiCellWidget( mNoConnectionLabel, row, row, 1, 2 ); mNoConnectionStartLabel = new KURLLabel( "", i18n( "[Start KPilot]" ), this ); mLayout->addWidget( mNoConnectionStartLabel, row, 3 ); - connect( mNoConnectionStartLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ), - this, TQT_SLOT( startKPilot() ) ); + connect( mNoConnectionStartLabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), + this, TQ_SLOT( startKPilot() ) ); if ( !kapp->dcopClient()->isApplicationRegistered( "kpilotDaemon" ) ) { startKPilot(); @@ -119,7 +119,7 @@ SummaryWidget::SummaryWidget( TQWidget *parent, const char *name ) connectDCOPSignal( 0, 0, "kpilotDaemonStatusDetails(TQDateTime,TQString,TQStringList,TQString,TQString,TQString,bool)", "receiveDaemonStatusDetails(TQDateTime,TQString,TQStringList,TQString,TQString,TQString,bool)", false ); - connect( kapp->dcopClient(), TQT_SIGNAL( applicationRemoved( const TQCString & ) ), TQT_SLOT( slotAppRemoved( const TQCString& ) ) ); + connect( kapp->dcopClient(), TQ_SIGNAL( applicationRemoved( const TQCString & ) ), TQ_SLOT( slotAppRemoved( const TQCString& ) ) ); } SummaryWidget::~SummaryWidget() diff --git a/kontact/plugins/kpilot/summarywidget.h b/kontact/plugins/kpilot/summarywidget.h index 209934fd..086fbd64 100644 --- a/kontact/plugins/kpilot/summarywidget.h +++ b/kontact/plugins/kpilot/summarywidget.h @@ -44,7 +44,7 @@ class KURLLabel; class SummaryWidget : public Kontact::Summary, public DCOPObject { - Q_OBJECT + TQ_OBJECT K_DCOP diff --git a/kontact/plugins/newsticker/CMakeLists.txt b/kontact/plugins/newsticker/CMakeLists.txt index cea04661..849ab442 100644 --- a/kontact/plugins/newsticker/CMakeLists.txt +++ b/kontact/plugins/newsticker/CMakeLists.txt @@ -24,8 +24,17 @@ link_directories( ##### other data ################################ -install( FILES kcmkontactknt.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES newstickerplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact ) +tde_create_translated_desktop( + SOURCE kcmkontactknt.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kontact-desktops +) + +tde_create_translated_desktop( + SOURCE newstickerplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kontact + PO_DIR kontact-desktops +) ##### libkontact_newstickerplugin (module) ###### diff --git a/kontact/plugins/newsticker/kcmkontactknt.cpp b/kontact/plugins/newsticker/kcmkontactknt.cpp index 577bc992..929be9aa 100644 --- a/kontact/plugins/newsticker/kcmkontactknt.cpp +++ b/kontact/plugins/newsticker/kcmkontactknt.cpp @@ -45,11 +45,11 @@ #include "newsfeeds.h" -#include <tdepimmacros.h> +#include <kdemacros.h> extern "C" { - KDE_EXPORT TDECModule *create_kontactknt( TQWidget *parent, const char * ) + TDE_EXPORT TDECModule *create_kontactknt( TQWidget *parent, const char * ) { return new KCMKontactKNT( parent, "kcmkontactknt" ); } @@ -80,10 +80,10 @@ NewsEditDialog::NewsEditDialog( const TQString& title, const TQString& url, TQWi mTitle->setText( title ); mURL->setText( url ); mTitle->setFocus(); - connect( mTitle, TQT_SIGNAL( textChanged( const TQString& ) ), - this, TQT_SLOT( modified() ) ); - connect( mURL, TQT_SIGNAL( textChanged( const TQString& ) ), - this, TQT_SLOT( modified() ) ); + connect( mTitle, TQ_SIGNAL( textChanged( const TQString& ) ), + this, TQ_SLOT( modified() ) ); + connect( mURL, TQ_SIGNAL( textChanged( const TQString& ) ), + this, TQ_SLOT( modified() ) ); modified(); } @@ -133,18 +133,18 @@ KCMKontactKNT::KCMKontactKNT( TQWidget *parent, const char *name ) { initGUI(); - connect( mAllNews, TQT_SIGNAL( currentChanged( TQListViewItem* ) ), - this, TQT_SLOT( allCurrentChanged( TQListViewItem* ) ) ); - connect( mSelectedNews, TQT_SIGNAL( selectionChanged( TQListViewItem* ) ), - this, TQT_SLOT( selectedChanged( TQListViewItem* ) ) ); + connect( mAllNews, TQ_SIGNAL( currentChanged( TQListViewItem* ) ), + this, TQ_SLOT( allCurrentChanged( TQListViewItem* ) ) ); + connect( mSelectedNews, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ), + this, TQ_SLOT( selectedChanged( TQListViewItem* ) ) ); - connect( mUpdateInterval, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( modified() ) ); - connect( mArticleCount, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( modified() ) ); + connect( mUpdateInterval, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( modified() ) ); + connect( mArticleCount, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( modified() ) ); - connect( mAddButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( addNews() ) ); - connect( mRemoveButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( removeNews() ) ); - connect( mNewButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( newFeed() ) ); - connect( mDeleteButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( deleteFeed() ) ); + connect( mAddButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addNews() ) ); + connect( mRemoveButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( removeNews() ) ); + connect( mNewButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( newFeed() ) ); + connect( mDeleteButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( deleteFeed() ) ); TDEAcceleratorManager::manage( this ); @@ -356,7 +356,7 @@ void KCMKontactKNT::initGUI() mSelectedNews->setFullWidth( true ); layout->addWidget( mSelectedNews, 0, 2 ); - TQGroupBox *box = new TQGroupBox( 0, Qt::Vertical, + TQGroupBox *box = new TQGroupBox( 0, TQt::Vertical, i18n( "News Feed Settings" ), this ); TQGridLayout *boxLayout = new TQGridLayout( box->layout(), 2, 3, diff --git a/kontact/plugins/newsticker/kcmkontactknt.desktop b/kontact/plugins/newsticker/kcmkontactknt.desktop index 0a4473b1..8e4dbf28 100644 --- a/kontact/plugins/newsticker/kcmkontactknt.desktop +++ b/kontact/plugins/newsticker/kcmkontactknt.desktop @@ -11,143 +11,7 @@ X-TDE-ParentComponents=kontact_newstickerplugin X-TDE-CfgDlgHierarchy=KontactSummary Name=News Ticker -Name[af]=Nuus tikker -Name[az]=Xəbər Gözləyici -Name[br]=Kliker keleier -Name[ca]=Teletip de notícies -Name[cy]=Ticer Newyddion -Name[da]=Nyhedstelegraf -Name[de]=Newsticker -Name[el]=Προβολέας ειδήσεων -Name[eo]=Novaĵprezentilo -Name[es]=Teletipo de noticias -Name[et]=Uudistejälgija -Name[eu]=Berri markatzailea -Name[fa]=Ticker اخبار -Name[fi]=Uutisnäytin -Name[fr]=Téléscripteur de nouvelles -Name[fy]=Nijs Tikker -Name[gl]=Colector de Novas -Name[he]=חדשות רצות -Name[hi]=न्यूज टिकर -Name[hr]=Ticker sa novostima -Name[hu]=RSS hírmegjelenítő -Name[id]=Ticker Berita -Name[is]=Fréttastrimill -Name[it]=Ticker notizie -Name[ja]=ニュースティッカー -Name[kk]=Жаңалық таспасы -Name[km]=កម្មវិធីទទួលព័ត៌មាន -Name[lt]=News pranešėjas -Name[lv]=Ziņu Tikkers -Name[ms]=Pengetik Berita -Name[nb]=Nyhetstelegraf -Name[nds]=Narichten-Ticker -Name[ne]=न्यूज टिकर -Name[nn]=Nyheitstelegraf -Name[pl]=Wiadomości -Name[pt]=Extractor de Notícias -Name[pt_BR]=Animação de Notícias -Name[ro]=Ştiri Internet -Name[ru]=Новости -Name[sk]=Sledovanie správ -Name[sl]=Prikazovalnik novic -Name[sr]=Откуцавач вести -Name[sr@Latn]=Otkucavač vesti -Name[sv]=Nyhetsövervakare -Name[ta]=செய்திகள் குறிப்பான் -Name[tg]=Ахборот -Name[th]=ตั๋วข่าว -Name[tr]=Haber İzleyici -Name[uk]=Стрічка новин -Name[ven]=Musengulusi wa Mafhungo -Name[vi]=Trình kiểm tra news -Name[xh]=Umchola-choli weendaba -Name[zh_CN]=新闻点点通 -Name[zh_TW]=新聞顯示器 -Name[zu]=Umlungiseleli Wezindaba + Comment=News Ticker Summary Setup -Comment[af]=Nuus tikker opsomming opstelling -Comment[bg]=Настройване обобщението на новините -Comment[ca]=Configuració del resum del teletip de notícies -Comment[cs]=Nastavení souhrnu newstickeru -Comment[da]=Nyhedstelegrafs opsætning af opsummering -Comment[de]=Einstellung der News-übersicht -Comment[el]=Περίληψη ρύθμισης προβολέα ρυθμίσεων -Comment[es]=Configuración del resumen del teletipo de noticias -Comment[et]=Uudistejälgija kokkuvõtte seadistus -Comment[eu]=Berri markatzailearen laburpenaren konfigurazioa -Comment[fa]=برپایی خلاصۀTicker اخبار -Comment[fi]=Uutisnäyttimen yhteenvedon asetukset -Comment[fr]=Configuration du résumé du téléscripteur de nouvelles -Comment[fy]=Oersichtsynstellings nijstikker -Comment[gl]=Configuración do Resumo de Fontes de Novas -Comment[he]=הגדרות תקציר חדשות רצות -Comment[hu]=A hírmegjelenítő áttekintőjének beállításai -Comment[is]=Uppsetning á yfirliti yfir fréttastrimla -Comment[it]=Impostazioni sommario ticker notizie -Comment[ja]=ニュースティッカーの設定 -Comment[kk]=Жаңалық таспасының тұжырымынын баптау -Comment[km]=រៀបចំសេចក្ដីសង្ខេបកម្មវិធីទទួលព័ត៌មាន -Comment[lt]=News Ticker santraukos nustatymai -Comment[nb]=Oppsett av sammendraget til nyhetstelegrafen -Comment[nds]=Narichten-Översicht instellen -Comment[ne]=न्यूज टिकर सारांश सेटअप -Comment[nl]=Overzichtsinstellingen nieuwsticker -Comment[nn]=Oppsett av nyhendetelegrafsamandrag -Comment[pl]=Ustawienia podsumowania wiadomości -Comment[pt]=Configuração do Sumário do Extractor de Notícias -Comment[pt_BR]=Configuração de Resumo de Notícias -Comment[ru]=Настройка дайджеста новостей -Comment[sk]=Nastavenie súhrnu správ -Comment[sl]=Nastavitve povzetka novic -Comment[sr]=Подешавање сажетка приказивања вести -Comment[sr@Latn]=Podešavanje sažetka prikazivanja vesti -Comment[sv]=Inställning av nyhetsövervakningsöversikt -Comment[tr]=Haber Yakalayıcı Özet Ayarları -Comment[uk]=Налаштування зведення стрічки новин -Comment[zh_CN]=新闻点点通摘要设置 -Comment[zh_TW]=新聞顯示器摘要設定 + Keywords=news ticker; configure; settings; -Keywords[bg]=новини; източник; настройки; news ticker; configure; settings; -Keywords[bs]=news ticker; configure; settings; vijesti; newsticker; podešavanje; -Keywords[ca]=teletip; configura; opcions; -Keywords[cs]=novinky;nastavení; -Keywords[da]=nyhedstelegraf; indstil; opsætning; -Keywords[de]=Newsticker;Einrichten;Einstellungen; -Keywords[el]=προβολέας ειδήσεων; ρύθμιση; ρυθμίσεις; -Keywords[es]=teletipo de noticias; configurar; opciones; -Keywords[et]=uudistejälgija; seadistamine; seadistused; -Keywords[eu]=berri markatzaileak; konfiguratu; ezarpenak; -Keywords[fa]=ticker اخبار، پیکربندی، تنظیمات; -Keywords[fi]=uutiset; asetukset; muokkaa; -Keywords[fr]=configurer;paramètre;news ticker; téléscripteur; -Keywords[fy]=newsticker;instellingen;ynstellings;configuratie;nieuws;nijs; -Keywords[gl]=capturador de novas; configurar; opcións; -Keywords[he]=news ticker; configure; settings; חדשות; תצורה; הגדרות; -Keywords[hu]=hírmegjelenítő;konfigurálás;beállítások; -Keywords[is]=fréttastrimill; stillingar; stilla; -Keywords[it]=ticker notizie; configura; impostazioni; -Keywords[ja]=ニュースティッカー;設定;設定; -Keywords[km]=កម្មវិធីទទួលព័ត៌មាន;កំណត់រចនាសម្ព័ន្ធ;ការកំណត់; -Keywords[lt]=news ticker; configure; settings; konfigūravimas; nustatymai; naujienų pranešėjas; -Keywords[ms]=Pengetik berita; konfigur; seting; -Keywords[nb]=nyhetstelegraf; oppsett; innstillinger; -Keywords[nds]=Narichten-Ticker; instellen; -Keywords[ne]=न्यूज टिकर; कन्फिगर; सेटिङ; -Keywords[nl]=newsticker;instellingen;configuratie;nieuws; -Keywords[nn]=nyhendetelegraf;oppsett;innstillingar; -Keywords[pl]=news ticker;wiadomości;nagłówki;konfiguracja;ustawienia; -Keywords[pt]=notícias; configurar; configuração; -Keywords[pt_BR]=mostrador de notícias;configurar; preferências; -Keywords[ru]=news ticker; configure; settings; настройка; новости; -Keywords[sk]=zdroje správ;nastavenie; -Keywords[sl]=prikazovalnik novic; nastavi; nastavitve; -Keywords[sr]=news ticker; подеси; поставке; -Keywords[sr@Latn]=news ticker; podesi; postavke; -Keywords[sv]=nyhetsövervakare; anpassa; inställningar; -Keywords[ta]=கேமுகவரிப்புத்தகம்;கட்டமைப்பு;அமைவுகள்; -Keywords[tg]=news ticker; configure; settings; танзимот; -Keywords[tr]=haber izleyici; yapılandırma; yapılandır; -Keywords[uk]=новини; налаштування; параметри; -Keywords[zh_CN]=news ticker; configure; settings; 新闻点点通; 配置; 设置; diff --git a/kontact/plugins/newsticker/kcmkontactknt.h b/kontact/plugins/newsticker/kcmkontactknt.h index a44cae7f..9227cb54 100644 --- a/kontact/plugins/newsticker/kcmkontactknt.h +++ b/kontact/plugins/newsticker/kcmkontactknt.h @@ -37,7 +37,7 @@ class NewsItem; class KCMKontactKNT : public TDECModule { - Q_OBJECT + TQ_OBJECT public: @@ -85,7 +85,7 @@ class KCMKontactKNT : public TDECModule class NewsEditDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/newsticker/newsticker_plugin.cpp b/kontact/plugins/newsticker/newsticker_plugin.cpp index 04d46883..62d27fc8 100644 --- a/kontact/plugins/newsticker/newsticker_plugin.cpp +++ b/kontact/plugins/newsticker/newsticker_plugin.cpp @@ -32,7 +32,7 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_newstickerplugin, NewsTickerPluginFactory( "kontact_newstickerplugin" ) ) NewsTickerPlugin::NewsTickerPlugin( Kontact::Core *core, const char *name, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), name ) + : Kontact::Plugin( core, core, name ) { setInstance( NewsTickerPluginFactory::instance() ); } diff --git a/kontact/plugins/newsticker/newstickerplugin.desktop b/kontact/plugins/newsticker/newstickerplugin.desktop index e2fbab6a..72dd8205 100644 --- a/kontact/plugins/newsticker/newstickerplugin.desktop +++ b/kontact/plugins/newsticker/newstickerplugin.desktop @@ -14,78 +14,6 @@ X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-License=LGPL X-TDE-PluginInfo-EnabledByDefault=true -Comment=Newsticker Component -Comment[bg]=Компонент за новини -Comment[ca]=Component de teletip de notícies -Comment[da]=Nyhedstelegraf-komponent -Comment[de]=Newsticker-Komponente -Comment[el]=Συστατικό προβολέα ειδήσεων -Comment[et]=Uudistejälgija plugin -Comment[it]=Componente ticker notizie -Comment[ja]=ニュースティッカーコンポーネント -Comment[nds]=Narichtentelegraaf-Komponent -Comment[nl]=Nieuwstickercomponent -Comment[pl]=Składnik paska wiadomości -Comment[sr]=Компонента откуцавача вести -Comment[sr@Latn]=Komponenta otkucavača vesti -Comment[sv]=Nyhetsövervakningskomponent -Comment[zh_CN]=新闻点点通组件 -Comment[zh_TW]=新聞顯示組件 Name=News -Name[af]=Nuus -Name[ar]=الأخبار -Name[be]=Навіны -Name[bg]=Новини -Name[br]=Keleier -Name[bs]=Usenet -Name[ca]=Notícies -Name[cs]=Novinky -Name[cy]=Newyddion -Name[da]=Nyheder -Name[de]=Newsticker -Name[el]=Νέα -Name[eo]=Novaĵoj -Name[es]=Noticias -Name[et]=Uudisegrupid -Name[eu]=Berriak -Name[fa]=اخبار -Name[fi]=Uutiset -Name[fr]=Nouvelles -Name[fy]=Nijs -Name[ga]=Nuacht -Name[gl]=Novas -Name[he]=חדשות -Name[hi]=समाचार -Name[hu]=Hírek -Name[is]=Fréttir -Name[ja]=ニュース -Name[kk]=Жаңалықтар -Name[km]=ព័ត៌មាន -Name[lt]=Naujienos -Name[mk]=Вести -Name[ms]=Berita -Name[nb]=Njus -Name[nds]=Narichten -Name[ne]=समाचार -Name[nl]=Nieuws -Name[nn]=Nyheiter -Name[pa]=ਖ਼ਬਰਾਂ -Name[pl]=Listy dyskusyjne -Name[pt]=Notícias -Name[pt_BR]=Notícias -Name[ro]=Ştiri -Name[ru]=Новости -Name[se]=Ođđasat -Name[sk]=Diskusné skupiny -Name[sl]=Novice -Name[sr]=Вести -Name[sr@Latn]=Vesti -Name[sv]=Nyheter -Name[ta]=செய்திகள் -Name[tg]=Ахборот -Name[th]=ข่าว -Name[tr]=Haberler -Name[uk]=Новини -Name[uz]=Янгиликлар -Name[zh_CN]=新闻 -Name[zh_TW]=新聞 + +Comment=Newsticker Component diff --git a/kontact/plugins/newsticker/summarywidget.cpp b/kontact/plugins/newsticker/summarywidget.cpp index f385b269..b7b3f866 100644 --- a/kontact/plugins/newsticker/summarywidget.cpp +++ b/kontact/plugins/newsticker/summarywidget.cpp @@ -68,7 +68,7 @@ SummaryWidget::SummaryWidget( TQWidget *parent, const char *name ) mBaseWidget = new TQWidget( this, "baseWidget" ); vlay->addWidget( mBaseWidget ); - connect( &mTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( updateDocuments() ) ); + connect( &mTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( updateDocuments() ) ); readConfig(); @@ -223,10 +223,10 @@ void SummaryWidget::updateView() urlLabel->setMaximumSize( urlLabel->minimumSizeHint() ); mLabels.append( urlLabel ); - connect( urlLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ), - kapp, TQT_SLOT( invokeBrowser( const TQString& ) ) ); - connect( urlLabel, TQT_SIGNAL( rightClickedURL( const TQString& ) ), - this, TQT_SLOT( rmbMenu( const TQString& ) ) ); + connect( urlLabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), + kapp, TQ_SLOT( invokeBrowser( const TQString& ) ) ); + connect( urlLabel, TQ_SIGNAL( rightClickedURL( const TQString& ) ), + this, TQ_SLOT( rmbMenu( const TQString& ) ) ); // header TQLabel *label = new TQLabel( hbox ); @@ -252,10 +252,10 @@ void SummaryWidget::updateView() mLabels.append( urlLabel ); mLayout->addWidget( urlLabel ); - connect( urlLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ), - kapp, TQT_SLOT( invokeBrowser( const TQString& ) ) ); - connect( urlLabel, TQT_SIGNAL( rightClickedURL( const TQString& ) ), - this, TQT_SLOT( rmbMenu( const TQString& ) ) ); + connect( urlLabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), + kapp, TQ_SLOT( invokeBrowser( const TQString& ) ) ); + connect( urlLabel, TQ_SIGNAL( rightClickedURL( const TQString& ) ), + this, TQ_SLOT( rmbMenu( const TQString& ) ) ); numArticles++; @@ -306,7 +306,7 @@ void SummaryWidget::rmbMenu( const TQString& url ) bool SummaryWidget::eventFilter( TQObject *obj, TQEvent* e ) { if ( obj->inherits( "KURLLabel" ) ) { - KURLLabel* label = static_cast<KURLLabel*>( TQT_TQWIDGET(obj) ); + KURLLabel* label = static_cast<KURLLabel*>( obj ); if ( e->type() == TQEvent::Enter ) emit message( label->url() ); if ( e->type() == TQEvent::Leave ) diff --git a/kontact/plugins/newsticker/summarywidget.h b/kontact/plugins/newsticker/summarywidget.h index c5122fb8..2363dcc4 100644 --- a/kontact/plugins/newsticker/summarywidget.h +++ b/kontact/plugins/newsticker/summarywidget.h @@ -55,7 +55,7 @@ typedef TQValueList<Feed> FeedList; class SummaryWidget : public Kontact::Summary, public DCOPObject { - Q_OBJECT + TQ_OBJECT // K_DCOP diff --git a/kontact/plugins/specialdates/CMakeLists.txt b/kontact/plugins/specialdates/CMakeLists.txt index d760fd12..f52bb51f 100644 --- a/kontact/plugins/specialdates/CMakeLists.txt +++ b/kontact/plugins/specialdates/CMakeLists.txt @@ -28,8 +28,17 @@ link_directories( ##### other data ################################ -install( FILES specialdatesplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact ) -install( FILES kcmsdsummary.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE specialdatesplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kontact + PO_DIR kontact-desktops +) + +tde_create_translated_desktop( + SOURCE kcmsdsummary.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kontact-desktops +) ##### libkontact_specialdatesplugin (module) #### diff --git a/kontact/plugins/specialdates/kcmsdsummary.cpp b/kontact/plugins/specialdates/kcmsdsummary.cpp index 93c7bd8b..f0b87414 100644 --- a/kontact/plugins/specialdates/kcmsdsummary.cpp +++ b/kontact/plugins/specialdates/kcmsdsummary.cpp @@ -39,11 +39,11 @@ #include "kcmsdsummary.h" -#include <tdepimmacros.h> +#include <kdemacros.h> extern "C" { - KDE_EXPORT TDECModule *create_sdsummary( TQWidget *parent, const char * ) + TDE_EXPORT TDECModule *create_sdsummary( TQWidget *parent, const char * ) { return new KCMSDSummary( parent, "kcmsdsummary" ); } @@ -56,12 +56,12 @@ KCMSDSummary::KCMSDSummary( TQWidget *parent, const char *name ) customDaysChanged( 1 ); - connect( mDaysGroup, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( modified() ) ); - connect( mDaysGroup, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( buttonClicked( int ) ) ); - connect( mCalendarGroup, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( modified() ) ); - connect( mContactGroup, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( modified() ) ); - connect( mCustomDays, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( modified() ) ); - connect( mCustomDays, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( customDaysChanged( int ) ) ); + connect( mDaysGroup, TQ_SIGNAL( clicked( int ) ), TQ_SLOT( modified() ) ); + connect( mDaysGroup, TQ_SIGNAL( clicked( int ) ), TQ_SLOT( buttonClicked( int ) ) ); + connect( mCalendarGroup, TQ_SIGNAL( clicked( int ) ), TQ_SLOT( modified() ) ); + connect( mContactGroup, TQ_SIGNAL( clicked( int ) ), TQ_SLOT( modified() ) ); + connect( mCustomDays, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( modified() ) ); + connect( mCustomDays, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( customDaysChanged( int ) ) ); TDEAcceleratorManager::manage( this ); @@ -87,7 +87,7 @@ void KCMSDSummary::initGUI() { TQGridLayout *layout = new TQGridLayout( this, 3, 2, KDialog::spacingHint() ); - mDaysGroup = new TQButtonGroup( 0, Qt::Vertical, i18n( "Special Dates Summary" ), this ); + mDaysGroup = new TQButtonGroup( 0, TQt::Vertical, i18n( "Special Dates Summary" ), this ); TQVBoxLayout *boxLayout = new TQVBoxLayout( mDaysGroup->layout(), KDialog::spacingHint() ); @@ -119,7 +119,7 @@ void KCMSDSummary::initGUI() layout->addMultiCellWidget( mDaysGroup, 0, 0, 0, 1 ); - mCalendarGroup = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Special Dates From Calendar" ), this ); + mCalendarGroup = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Special Dates From Calendar" ), this ); mShowBirthdaysFromCal = new TQCheckBox( i18n( "Show birthdays" ), mCalendarGroup ); mShowAnniversariesFromCal = new TQCheckBox( i18n( "Show anniversaries" ), mCalendarGroup ); @@ -127,7 +127,7 @@ void KCMSDSummary::initGUI() mShowSpecialsFromCal = new TQCheckBox( i18n( "Show special occasions" ), mCalendarGroup ); - mContactGroup = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Special Dates From Contact List" ), this ); + mContactGroup = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Special Dates From Contact List" ), this ); mShowBirthdaysFromKAB = new TQCheckBox( i18n( "Show birthdays" ), mContactGroup ); mShowAnniversariesFromKAB = new TQCheckBox( i18n( "Show anniversaries" ), mContactGroup ); diff --git a/kontact/plugins/specialdates/kcmsdsummary.desktop b/kontact/plugins/specialdates/kcmsdsummary.desktop index 1afc1a9d..fd75d3db 100644 --- a/kontact/plugins/specialdates/kcmsdsummary.desktop +++ b/kontact/plugins/specialdates/kcmsdsummary.desktop @@ -11,107 +11,7 @@ X-TDE-ParentComponents=kontact_specialdatesplugin X-TDE-CfgDlgHierarchy=KontactSummary Name=Special Dates Overview -Name[bg]=Преглед на специални случаи -Name[ca]=Resum de dates especials -Name[da]=Oversigt over særlige datoer -Name[de]=Übersicht über besondere Termine -Name[el]=Επισκόπηση σημαντικών ημερομηνιών -Name[et]=Tähtpäevade ülevaade -Name[it]=Panoramica delle date speciali -Name[ja]=特別な日の要約 -Name[nds]=Översicht besünner Daten -Name[nl]=Overzicht van speciale data -Name[pl]=Daty specjalne -Name[sr]=Преглед посебних датума -Name[sr@Latn]=Pregled posebnih datuma -Name[sv]=Översikt av speciella datum -Name[zh_CN]=特殊日期概览 -Name[zh_TW]=特殊日期概觀 + Comment=Special Dates Summary Setup -Comment[af]=Spesiale datums opsomming opstelling -Comment[bg]=Настройки на специалните случаи -Comment[ca]=Configuració del resum de les dates especials -Comment[cs]=Nastavení souhrnu speciálních datumů -Comment[da]=Opsummering af opsætning af særlige datoer -Comment[de]=Einstellung der Übersicht über besondere Termine -Comment[el]=Ρύθμιση σύνοψης σημαντικών ημερομηνιών -Comment[es]=Configuración del resumen de las fechas especiales -Comment[et]=Tähtpäevade kokkuvõtte seadistus -Comment[eu]=Data berezien laburpenen konfigurazioa -Comment[fa]=برپایی خلاصۀ تاریخهای ویژه -Comment[fi]=Erikoispäivien yhteenvedon asetukset -Comment[fr]=Configuration du résumé des dates particulières -Comment[fy]=Spesjale datums oersichts opset -Comment[gl]=Configuración do Resumo de Datas Especiais -Comment[he]=תצורת תאריכים מיוחדים -Comment[hu]=A fontos dátumok áttekintőjének beállításai -Comment[is]=Yfirlitsuppsetning sérstakra daga -Comment[it]=Impostazioni per le date speciali -Comment[ja]=特別な日の要約設定 -Comment[kk]=Ерекше күндер тұжырымының баптауы -Comment[km]=រៀបចំសេចក្ដីសង្ខេបថ្ងៃពិសេស -Comment[lt]=Ypatingų datų santraukos sąranka -Comment[mk]=Поставувања за прегледот на специјални датуми -Comment[ms]=Setup Ringkasan Tarikh Khusus -Comment[nb]=Sammendragsoppsett for spesielle datoer -Comment[nds]=Översicht över besünner Daag instellen -Comment[ne]=विशेष मिति सारांश सेटअप -Comment[nl]=Instellingen voor speciale data in overzicht -Comment[nn]=Oppsett av samandrag for spesielle datoar -Comment[pl]=Ustawienia podsumowania dat specjalnych -Comment[pt]=Configuração do Sumário de Datas Especiais -Comment[pt_BR]=Configuração do Resumo de Datas Especiais -Comment[ru]=Настройка особых дат -Comment[sk]=Nastavenie súhrnu špeciálnych dátumov -Comment[sl]=Nastavitve povzetka posebnih datumov -Comment[sr]=Подешавање сажетка посебних датума -Comment[sr@Latn]=Podešavanje sažetka posebnih datuma -Comment[sv]=Inställning av översikt av speciella datum -Comment[ta]=விசேஷ தேதிகள் சுருக்க அமைப்பு -Comment[th]=ต้้งค่าส่วนสรุปวันพิเศษ -Comment[tr]=Özel Tarih Özeti Yapılandırması -Comment[uk]=Налаштування підсумку особливих дат -Comment[zh_CN]=特殊日期摘要设置 -Comment[zh_TW]=特殊日期摘要設定 + Keywords=birthday; anniversary; holiday; configure; settings; -Keywords[af]=birtday;anniversary; holiday; conifugre; settings; verjaarsdag; herdenking; vakansie; -Keywords[bg]=рождени; рожден; дни; ден; годишнина; годишнини; обобщение; birthday; anniversary; configure; settings; -Keywords[ca]=data de naixement; aniversari; vacances; configuració; arranjament; -Keywords[cs]=narozeniny;výročí;nastavení;nastavit;svátek; -Keywords[da]=fødselsdag; årsdag; helligdage; indstil; opsætning; -Keywords[de]=Geburtstag;Jahrestag;Feiertag;einstellen;Einstellungen;Einrichten; -Keywords[el]=γενέθλια; επέτειος; εορτή; ρύθμιση; ρυθμίσεις; -Keywords[es]=cumpleaños; aniversario; vacaciones; configurar; preferencias; -Keywords[et]=sünnipäev; tähtpäev; pidupäev; seadistamine; seadistused; -Keywords[eu]=urtebetezea; urteurrena; jaia; konfiguratu; ezarpenak; -Keywords[fa]=تولد، جشن سالانه، تعطیلات، پیکربندی، تنظیمات; -Keywords[fi]=syntymäpäivä; juhlapäivä; loma; aseta; asetukset; -Keywords[fr]=anniversaire;date de naissance;vacances;configurer;paramètres;préférences; -Keywords[fy]=verjaardag;jubileum;vakantie;instellingen;configuratie;feestdag; jierdei; fakânsje; ynstellings; feestdei; -Keywords[gl]=cumpreanos; aniversario; vacacións; configurar; opcións; -Keywords[he]=birthday; anniversary; holiday; configure; settings; יום הולדת; הולדת; שנה; יום שנה; חג; חגים; תצורה; הגדרות; -Keywords[hu]=születésnap;évforduló;szabadság;konfigurálás;beállítások; -Keywords[is]=afmæli; frídagar; stillingar; stilla; -Keywords[it]=compleanno; anniversario; vacanze; configura; impostazioni; -Keywords[ja]=誕生日;記念日;休日;設定;設定; -Keywords[km]=ថ្ងៃខួបកំណើត;បុណ្យខួប;វិស្សមកាល;កំណត់រចនាសម្ព័ន្ធ;ការកំណត់; -Keywords[lt]=birthday; anniversary; holiday; configure; settings; konfigūruoti; nustatymai; gimtadieniai; išeiginės;sukaktys; -Keywords[mk]=birthday; anniversary; holiday; configure; settings; роденден; годишнина; конфигурирање; конфигурација; поставувања; -Keywords[ms]=tarikh lahir; ulang tahun; cuti; konfigur; seting; -Keywords[nb]=fødselsdag; jubileum; ferie; sette opp; innstillinger; -Keywords[nds]=Geboortsdag;Johrdag;Fierdag;instellen; -Keywords[ne]=जन्मदिन; वार्षिकोत्सव; बिदा; कन्फिगर; सेटिङ; -Keywords[nl]=verjaardag;jubileum;vakantie;instellingen;configuratie;feestdag; -Keywords[nn]=fødselsdag;bursdag;gebursdag;jubileum;ferie;helgedag;merkedag;oppsett;innstillingar; -Keywords[pl]=urodziny;rocznica;rocznice;wakacje;urlop;konfiguracja;ustawienia; -Keywords[pt]=data de nascimento; aniversário; feriado; configurar; configuração; -Keywords[pt_BR]=aniversário;aniversário de casamento; feriados;configurar;configurações; -Keywords[ru]=birthday;anniversary;configure;settings;дни рождения;настройки;праздники;годовщины; -Keywords[sl]=rojstni dan; obletnica; praznik; nastavi; nastavitve; -Keywords[sr]=birthday; anniversary; holiday; configure; settings; рођендан; годишњица; подеси; поставке; подешавања; -Keywords[sr@Latn]=birthday; anniversary; holiday; configure; settings; rođendan; godišnjica; podesi; postavke; podešavanja; -Keywords[sv]=födelsedag;årsdag;helgdag;anpassa;inställningar; -Keywords[ta]=பிறந்தநாள்; ஆண்டுவிழா; விடுமுறை; வடிவமைப்பு; அமைப்புகள்; -Keywords[tr]=doğumgünü; evlilik yıldönümü; tatil; yapılandır; ypılandırma; -Keywords[uk]=birthday; anniversary; holiday; configure; settings; день народження; ювілей; свято; налаштування; параметри; -Keywords[zh_CN]=birthday; anniversary; holiday; configure; settings; 周年纪念; 配置; 设置; 假日; diff --git a/kontact/plugins/specialdates/kcmsdsummary.h b/kontact/plugins/specialdates/kcmsdsummary.h index c0095dfa..e3189656 100644 --- a/kontact/plugins/specialdates/kcmsdsummary.h +++ b/kontact/plugins/specialdates/kcmsdsummary.h @@ -35,7 +35,7 @@ class TDEAboutData; class KCMSDSummary : public TDECModule { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/specialdates/sdsummarywidget.cpp b/kontact/plugins/specialdates/sdsummarywidget.cpp index 376389f9..fb9167c6 100644 --- a/kontact/plugins/specialdates/sdsummarywidget.cpp +++ b/kontact/plugins/specialdates/sdsummarywidget.cpp @@ -95,10 +95,10 @@ SDSummaryWidget::SDSummaryWidget( Kontact::Plugin *plugin, TQWidget *parent, // Setup the Addressbook TDEABC::StdAddressBook *ab = TDEABC::StdAddressBook::self( true ); - connect( ab, TQT_SIGNAL( addressBookChanged( AddressBook* ) ), - this, TQT_SLOT( updateView() ) ); - connect( mPlugin->core(), TQT_SIGNAL( dayChanged( const TQDate& ) ), - this, TQT_SLOT( updateView() ) ); + connect( ab, TQ_SIGNAL( addressBookChanged( AddressBook* ) ), + this, TQ_SLOT( updateView() ) ); + connect( mPlugin->core(), TQ_SIGNAL( dayChanged( const TQDate& ) ), + this, TQ_SLOT( updateView() ) ); // Setup the Calendar mCalendar = new KCal::CalendarResources( KPimPrefs::timezone() ); @@ -128,10 +128,10 @@ SDSummaryWidget::SDSummaryWidget( Kontact::Plugin *plugin, TQWidget *parent, } mCalendar = KOrg::StdCalendar::self(); - connect( mCalendar, TQT_SIGNAL( calendarChanged() ), - this, TQT_SLOT( updateView() ) ); - connect( mPlugin->core(), TQT_SIGNAL( dayChanged( const TQDate& ) ), - this, TQT_SLOT( updateView() ) ); + connect( mCalendar, TQ_SIGNAL( calendarChanged() ), + this, TQ_SLOT( updateView() ) ); + connect( mPlugin->core(), TQ_SIGNAL( dayChanged( const TQDate& ) ), + this, TQ_SLOT( updateView() ) ); // Update Configuration configUpdated(); @@ -250,7 +250,7 @@ void SDSummaryWidget::updateView() TQString anniversaryAsString = (*it).custom( "KADDRESSBOOK" , "X-Anniversary" ); if ( !anniversaryAsString.isEmpty() ) { - TQDate anniversary = TQDate::fromString( anniversaryAsString, Qt::ISODate ); + TQDate anniversary = TQDate::fromString( anniversaryAsString, TQt::ISODate ); if ( anniversary.isValid() && mShowAnniversariesFromKAB ) { SDEntry entry; entry.type = IncidenceTypeContact; @@ -506,10 +506,10 @@ void SDSummaryWidget::updateView() mLayout->addWidget( urlLabel, counter, 4 ); mLabels.append( urlLabel ); - connect( urlLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ), - this, TQT_SLOT( mailContact( const TQString& ) ) ); - connect( urlLabel, TQT_SIGNAL( rightClickedURL( const TQString& ) ), - this, TQT_SLOT( popupMenu( const TQString& ) ) ); + connect( urlLabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), + this, TQ_SLOT( mailContact( const TQString& ) ) ); + connect( urlLabel, TQ_SIGNAL( rightClickedURL( const TQString& ) ), + this, TQ_SLOT( popupMenu( const TQString& ) ) ); } else { label = new TQLabel( this ); label->setText( (*addrIt).summary ); @@ -593,7 +593,7 @@ void SDSummaryWidget::popupMenu( const TQString &uid ) bool SDSummaryWidget::eventFilter( TQObject *obj, TQEvent* e ) { if ( obj->inherits( "KURLLabel" ) ) { - KURLLabel* label = static_cast<KURLLabel*>( TQT_TQWIDGET(obj) ); + KURLLabel* label = static_cast<KURLLabel*>( obj ); if ( e->type() == TQEvent::Enter ) emit message( i18n( "Mail to:\"%1\"" ).arg( label->text() ) ); if ( e->type() == TQEvent::Leave ) diff --git a/kontact/plugins/specialdates/sdsummarywidget.h b/kontact/plugins/specialdates/sdsummarywidget.h index ff9fb70a..2c63b259 100644 --- a/kontact/plugins/specialdates/sdsummarywidget.h +++ b/kontact/plugins/specialdates/sdsummarywidget.h @@ -42,7 +42,7 @@ class TQLabel; class SDSummaryWidget : public Kontact::Summary { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/specialdates/specialdates_plugin.cpp b/kontact/plugins/specialdates/specialdates_plugin.cpp index 58c830c8..a1893aef 100644 --- a/kontact/plugins/specialdates/specialdates_plugin.cpp +++ b/kontact/plugins/specialdates/specialdates_plugin.cpp @@ -38,7 +38,7 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_specialdatesplugin, SpecialdatesPluginFactory( "kontact_specialdatesplugin" ) ) SpecialdatesPlugin::SpecialdatesPlugin( Kontact::Core *core, const char *name, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), name ), + : Kontact::Plugin( core, core, name ), mAboutData( 0 ) { setInstance( SpecialdatesPluginFactory::instance() ); diff --git a/kontact/plugins/specialdates/specialdatesplugin.desktop b/kontact/plugins/specialdates/specialdatesplugin.desktop index f71ccbd4..32c830d2 100644 --- a/kontact/plugins/specialdates/specialdatesplugin.desktop +++ b/kontact/plugins/specialdates/specialdatesplugin.desktop @@ -14,70 +14,5 @@ X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=true Name=Special Dates -Name[af]=Spesiale datums -Name[ar]=التواريخ المرقومة -Name[bg]=Специални случаи -Name[br]=Deiziadoù dibar -Name[ca]=Dates especials -Name[cs]=Speciální data -Name[da]=Særlige datoer -Name[de]=Besondere Termine -Name[el]=Σημαντικές ημερομηνίες -Name[eo]=Specialaj Datoj -Name[es]=Fechas especiales -Name[et]=Tähtpäevad -Name[eu]=Data bereziak -Name[fa]=تاریخهای ویژه -Name[fi]=Erikoispäivät -Name[fr]=Dates particulières -Name[fy]=Spesjale datums -Name[ga]=Dátaí Speisialta -Name[gl]=Datas Especiais -Name[he]=תאריכים מיוחדים -Name[hu]=Fontos dátumok -Name[is]=Sérstakir dagar -Name[it]=Date speciali -Name[ja]=特別な日 -Name[kk]=Ерекше күндер -Name[km]=ថ្ងៃពិសេស -Name[lt]=Ypatingos datos -Name[mk]=Специјални датуми -Name[ms]=Tarikh Khusus -Name[nb]=Spesielle datoer -Name[nds]=Besünner Daag -Name[ne]=विशेष मिति -Name[nl]=Speciale data -Name[nn]=Spesielle datoar -Name[pl]=Daty specjalne -Name[pt]=Datas Especiais -Name[pt_BR]=Datas Especiais -Name[ru]=Особые даты -Name[sk]=Špeciálne dátumy -Name[sl]=Posebni datumi -Name[sr]=Посебни датуми -Name[sr@Latn]=Posebni datumi -Name[sv]=Speciella datum -Name[ta]=விசேஷ தேதிகள் -Name[th]=วันพิเศษ -Name[tr]=Özel Tarihler -Name[uk]=Особливі дати -Name[uz]=Махсус кунлар -Name[zh_CN]=特殊日期 -Name[zh_TW]=特殊日期 + Comment=Special Dates Component -Comment[bg]=Обобщение на специалните случаи -Comment[ca]=Component de dates especials -Comment[da]=Komponent til særlige datoer -Comment[de]=Komponente für Übersicht über besondere Termine -Comment[el]=Συστατικό σημαντικών ημερομηνιών -Comment[et]=Tähtpäevade plugin -Comment[it]=Componente per le date speciali -Comment[ja]=特別な日コンポーネント -Comment[nds]=Komponent för besünner Daten -Comment[nl]=Component voor overzicht van speciale data -Comment[pl]=Składnik dat specjalnych -Comment[sr]=Компонента посебних датума -Comment[sr@Latn]=Komponenta posebnih datuma -Comment[sv]=Speciella datumkomponent -Comment[zh_CN]=特殊日期组件 -Comment[zh_TW]=特殊日期組件 diff --git a/kontact/plugins/summary/CMakeLists.txt b/kontact/plugins/summary/CMakeLists.txt index d7fad7af..801667e1 100644 --- a/kontact/plugins/summary/CMakeLists.txt +++ b/kontact/plugins/summary/CMakeLists.txt @@ -26,8 +26,18 @@ link_directories( ##### other data ################################ -install( FILES kcmkontactsummary.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES summaryplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact ) +tde_create_translated_desktop( + SOURCE kcmkontactsummary.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kontact-desktops +) + +tde_create_translated_desktop( + SOURCE summaryplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kontact + PO_DIR kontact-desktops +) + install( FILES kontactsummary_part.rc DESTINATION ${DATA_INSTALL_DIR}/kontactsummary ) diff --git a/kontact/plugins/summary/dropwidget.h b/kontact/plugins/summary/dropwidget.h index d406f441..fe92825a 100644 --- a/kontact/plugins/summary/dropwidget.h +++ b/kontact/plugins/summary/dropwidget.h @@ -26,7 +26,7 @@ class DropWidget : public TQWidget { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/summary/kcmkontactsummary.cpp b/kontact/plugins/summary/kcmkontactsummary.cpp index 3877827d..d400df31 100644 --- a/kontact/plugins/summary/kcmkontactsummary.cpp +++ b/kontact/plugins/summary/kcmkontactsummary.cpp @@ -39,11 +39,11 @@ #include "kcmkontactsummary.h" -#include <tdepimmacros.h> +#include <kdemacros.h> extern "C" { - KDE_EXPORT TDECModule *create_kontactsummary( TQWidget *parent, const char * ) { + TDE_EXPORT TDECModule *create_kontactsummary( TQWidget *parent, const char * ) { return new KCMKontactSummary( parent, "kcmkontactsummary" ); } } @@ -103,8 +103,8 @@ KCMKontactSummary::KCMKontactSummary( TQWidget *parent, const char *name ) layout->setStretchFactor( mPluginView, 1 ); - connect( mPluginView, TQT_SIGNAL( clicked( TQListViewItem* ) ), - this, TQT_SLOT( itemClicked( TQListViewItem* ) ) ); + connect( mPluginView, TQ_SIGNAL( clicked( TQListViewItem* ) ), + this, TQ_SLOT( itemClicked( TQListViewItem* ) ) ); load(); TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kontactsummary" ), diff --git a/kontact/plugins/summary/kcmkontactsummary.desktop b/kontact/plugins/summary/kcmkontactsummary.desktop index 0e957ebe..c6f4e500 100644 --- a/kontact/plugins/summary/kcmkontactsummary.desktop +++ b/kontact/plugins/summary/kcmkontactsummary.desktop @@ -11,62 +11,5 @@ X-TDE-ParentComponents=kontact_summaryplugin X-TDE-CfgDlgHierarchy=KontactSummary Name=Summary View Items -Name[bg]=Обобщение -Name[ca]=Vista resum d'elements -Name[de]=Übersichtseinträge -Name[el]=Αντικείμενα προβολής σύνοψης -Name[et]=Kokkuvõttevaate elemendid -Name[it]=Elementi vista sommario -Name[ja]=要約ビューの項目 -Name[nds]=Översicht-Indrääg -Name[nl]=Overzichtsweergave-items -Name[sr]=Ставке приказа сажетка -Name[sr@Latn]=Stavke prikaza sažetka -Name[sv]=Objekt i översiktsvy -Name[zh_CN]=摘要视图项目 + Comment=General Configuration of Kontact's Summary View -Comment[af]=Algemene opstelling van Kontact se opsomming aansig -Comment[bg]=Настройка на обобщението -Comment[bs]=Opšte podešavanje Kontactovog prozora Sažetak -Comment[ca]=Configuració general de la vista de resum del Kontact -Comment[cs]=Obecné nastavení souhrnného pohledu pro Kontact -Comment[da]=Generel indstilling af Kontact's sammendragsvisning -Comment[de]=Allgemeine Einstellungen für die Übersichtsansicht von Kontact -Comment[el]=Γενικές ρυθμίσεις της Προβολής Σύνοψης του Kontact -Comment[es]=Configuración general de la vista del resumen de Kontact -Comment[et]=Kontacti kokkuvõttevaate üldised seadistused -Comment[eu]=Kontact-en laburpen ikuspegiaren konfigurazio orokorra -Comment[fa]=پیکربندی عمومی نمای خلاصۀ Kontact -Comment[fi]=Kontactin yhteenvetonäkymän yleiset asetukset -Comment[fr]=Configuration générale de la vue résumée de Kontact -Comment[fy]=Algemiene ynstellings fan Kontact's oersichtswerjefte -Comment[gl]=Configuración xeral para a vista de resumo de Kontact -Comment[hu]=A Kontact áttekintő nézetének beállításai -Comment[is]=Almennar stillingar fyrir Kontact yfirlitssýn -Comment[it]=Configurazione generale della vista sommario di Kontact -Comment[ja]=Kontact の要約表示の一般的な設定 -Comment[kk]=Тұжырымдаманың жалпы параметрлері -Comment[km]=ការកំណត់រចនាសម្ព័ន្ធទូទៅនៃទិដ្ឋភាពសង្ខេបរបស់ Kontact -Comment[lt]=Kontact Santraukos vaizdo bendrasis konfigūravimas -Comment[mk]=Општа конфигурација на прегледот на Контакт -Comment[ms]=Konfigurasi Am Paparan Ringkasan Kontact -Comment[nb]=Generelt oppsett av Kontact's sammendragsoversikt -Comment[nds]=Allgemeen Instellen för de Översichtansicht von Kontact -Comment[ne]=सम्पर्कको सारांश दृश्यको साधारण कन्फिगरेसन -Comment[nl]=Algemene instellingen van Kontact's overzichtsweergave -Comment[nn]=Generelt oppsett av samandragsvisinga i Kontact -Comment[pl]=Ogólna konfiguracja widoku podsumowania w Kontact -Comment[pt]=Configuração Geral da Vista Sumária do Kontact -Comment[pt_BR]=Configuração Geral da Visão de Resumo do Kontact -Comment[ru]=Общие настройки дайджеста Kontact -Comment[sk]=Všeobecné nastavenie súhrnu Kontact -Comment[sl]=Splošne nastavitve za prikaz povzetka v Kontract -Comment[sr]=Опште подешавање Kontact-овог приказа сажетка -Comment[sr@Latn]=Opšte podešavanje Kontact-ovog prikaza sažetka -Comment[sv]=Allmän inställning av Kontacts översiktsvy -Comment[ta]=கான்டாக்கின் சுருக்க காட்சியின் பொது கட்டமைப்பு -Comment[tg]=Танзимотҳои умумии дайджести Kontact -Comment[tr]=Kontact'ın Özet Görünümü için Genel Yapılandırma -Comment[uk]=Загальні параметри підсумків Kontact -Comment[zh_CN]=Kontact 概览视图的常规配置 -Comment[zh_TW]=Kontacts 摘要檢視的一般設定 diff --git a/kontact/plugins/summary/kcmkontactsummary.h b/kontact/plugins/summary/kcmkontactsummary.h index 3f1cdd69..bfc72d40 100644 --- a/kontact/plugins/summary/kcmkontactsummary.h +++ b/kontact/plugins/summary/kcmkontactsummary.h @@ -32,7 +32,7 @@ class KPluginInfo; class PluginView : public TDEListView { - Q_OBJECT + TQ_OBJECT public: @@ -42,7 +42,7 @@ class PluginView : public TDEListView class KCMKontactSummary : public TDECModule { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/summary/summaryplugin.desktop b/kontact/plugins/summary/summaryplugin.desktop index 59a7d31e..d74c34fa 100644 --- a/kontact/plugins/summary/summaryplugin.desktop +++ b/kontact/plugins/summary/summaryplugin.desktop @@ -11,79 +11,9 @@ X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-License=LGPL X-TDE-PluginInfo-EnabledByDefault=true -Comment=Summary View Component -Comment[bg]=Обобщение -Comment[ca]=Component de vista resum -Comment[da]=Komponent for opsummeringsvisning -Comment[de]=Übersichtskomponente -Comment[el]=Συστατικό προβολής σύνοψης -Comment[et]=Kokkuvõttevaate plugin -Comment[it]=Componente vista sommario -Comment[ja]=要約ビューコンポーネント -Comment[nds]=Översicht-Komponent -Comment[nl]=Overzichtsweergaveitem -Comment[pl]=Składnik podsumowania -Comment[sr]=Компонента приказа сажетка -Comment[sr@Latn]=Komponenta prikaza sažetka -Comment[sv]=Översiktsvykomponent -Comment[zh_CN]=摘要视图组件 -Comment[zh_TW]=摘要檢視組件 Name=Summary -Name[af]=Opsomming -Name[ar]=الموجز -Name[bg]=Обобщение -Name[br]=Diverrañ -Name[bs]=Sažetak -Name[ca]=Resum -Name[cs]=Souhrn -Name[cy]=Crynodeb -Name[da]=Opsummering -Name[de]=Übersicht -Name[el]=Σύνοψη -Name[eo]=Resumo -Name[es]=Resumen -Name[et]=Kokkuvõte -Name[eu]=Laburpena -Name[fa]=خلاصه -Name[fi]=Yhteenveto -Name[fr]=Résumé -Name[fy]=Oersicht -Name[ga]=Achoimre -Name[gl]=Resumo -Name[he]=תקציר -Name[hi]=सारांश -Name[hu]=Áttekintő -Name[is]=Yfirlit -Name[it]=Sommario -Name[ja]=要約 -Name[kk]=Тұжырым -Name[km]=សង្ខេប -Name[lt]=Santrauka -Name[mk]=Преглед -Name[ms]=Ringkasan -Name[nb]=Sammendrag -Name[nds]=Översicht -Name[ne]=सारांश -Name[nl]=Overzicht -Name[nn]=Samandrag -Name[pl]=Podsumowanie -Name[pt]=Resumo -Name[pt_BR]=Resumo -Name[ro]=Sumar -Name[ru]=Дайджест -Name[se]=Čoahkkáigeassu -Name[sk]=Súhrn -Name[sl]=Povzetek -Name[sr]=Сажетак -Name[sr@Latn]=Sažetak -Name[sv]=Översikt -Name[ta]=சுருக்கம் -Name[tg]=Дайджест -Name[th]=หน้าสรุป -Name[tr]=Özet -Name[uk]=Зведення -Name[uz]=Ҳисобот -Name[zh_CN]=概览 -Name[zh_TW]=摘要 + +Comment=Summary View Component + #Always last X-TDE-InitialPreference=0 diff --git a/kontact/plugins/summary/summaryview_part.cpp b/kontact/plugins/summary/summaryview_part.cpp index 94474c55..5c64d934 100644 --- a/kontact/plugins/summary/summaryview_part.cpp +++ b/kontact/plugins/summary/summaryview_part.cpp @@ -77,25 +77,25 @@ SummaryViewPart::SummaryViewPart( Kontact::Core *core, const char*, initGUI( core ); - connect( kapp, TQT_SIGNAL( tdedisplayPaletteChanged() ), TQT_SLOT( slotAdjustPalette() ) ); + connect( kapp, TQ_SIGNAL( tdedisplayPaletteChanged() ), TQ_SLOT( slotAdjustPalette() ) ); slotAdjustPalette(); setDate( TQDate::currentDate() ); - connect( mCore, TQT_SIGNAL( dayChanged( const TQDate& ) ), - TQT_SLOT( setDate( const TQDate& ) ) ); + connect( mCore, TQ_SIGNAL( dayChanged( const TQDate& ) ), + TQ_SLOT( setDate( const TQDate& ) ) ); KParts::InfoExtension *info = new KParts::InfoExtension( this, "Summary" ); - connect( this, TQT_SIGNAL( textChanged( const TQString& ) ), - info, TQT_SIGNAL( textChanged( const TQString& ) ) ); + connect( this, TQ_SIGNAL( textChanged( const TQString& ) ), + info, TQ_SIGNAL( textChanged( const TQString& ) ) ); mConfigAction = new TDEAction( i18n( "&Configure Summary View..." ), "configure", 0, this, - TQT_SLOT( slotConfigure() ), actionCollection(), + TQ_SLOT( slotConfigure() ), actionCollection(), "summaryview_configure" ); setXMLFile( "kontactsummary_part.rc" ); - TQTimer::singleShot( 0, this, TQT_SLOT( slotTextChanged() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotTextChanged() ) ); } SummaryViewPart::~SummaryViewPart() @@ -142,8 +142,8 @@ void SummaryViewPart::updateWidgets() mSummaries.clear(); mFrame = new DropWidget( mMainWidget ); - connect( mFrame, TQT_SIGNAL( summaryWidgetDropped( TQWidget*, TQWidget*, int ) ), - this, TQT_SLOT( summaryWidgetMoved( TQWidget*, TQWidget*, int ) ) ); + connect( mFrame, TQ_SIGNAL( summaryWidgetDropped( TQWidget*, TQWidget*, int ) ), + this, TQ_SLOT( summaryWidgetMoved( TQWidget*, TQWidget*, int ) ) ); mMainLayout->insertWidget( 2, mFrame ); @@ -176,10 +176,10 @@ void SummaryViewPart::updateWidgets() if ( summary->summaryHeight() > 0 ) { mSummaries.insert( plugin->identifier(), summary ); - connect( summary, TQT_SIGNAL( message( const TQString& ) ), - BroadcastStatus::instance(), TQT_SLOT( setStatusMsg( const TQString& ) ) ); - connect( summary, TQT_SIGNAL( summaryWidgetDropped( TQWidget*, TQWidget*, int ) ), - this, TQT_SLOT( summaryWidgetMoved( TQWidget*, TQWidget*, int ) ) ); + connect( summary, TQ_SIGNAL( message( const TQString& ) ), + BroadcastStatus::instance(), TQ_SLOT( setStatusMsg( const TQString& ) ) ); + connect( summary, TQ_SIGNAL( summaryWidgetDropped( TQWidget*, TQWidget*, int ) ), + this, TQ_SLOT( summaryWidgetMoved( TQWidget*, TQWidget*, int ) ) ); if ( !mLeftColumnSummaries.contains( plugin->identifier() ) && !mRightColumnSummaries.contains( plugin->identifier() ) ) { @@ -327,8 +327,8 @@ void SummaryViewPart::slotConfigure() TQStringList modules = configModules(); modules.prepend( "kcmkontactsummary.desktop" ); - connect( &dlg, TQT_SIGNAL( configCommitted() ), - this, TQT_SLOT( updateWidgets() ) ); + connect( &dlg, TQ_SIGNAL( configCommitted() ), + this, TQ_SLOT( updateWidgets() ) ); TQStringList::ConstIterator strIt; for ( strIt = modules.begin(); strIt != modules.end(); ++strIt ) @@ -364,7 +364,7 @@ void SummaryViewPart::initGUI( Kontact::Core *core ) mMainWidget = new TQFrame( sv->viewport() ); sv->addChild( mMainWidget ); mMainWidget->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); - sv->setFocusPolicy( TQ_StrongFocus ); + sv->setFocusPolicy( TQWidget::StrongFocus ); setWidget( sv ); mMainLayout = new TQVBoxLayout( mMainWidget,KDialog::marginHint(), @@ -384,8 +384,8 @@ void SummaryViewPart::initGUI( Kontact::Core *core ) mFrame = new DropWidget( mMainWidget ); mMainLayout->insertWidget( 2, mFrame ); - connect( mFrame, TQT_SIGNAL( summaryWidgetDropped( TQWidget*, TQWidget*, int ) ), - this, TQT_SLOT( summaryWidgetMoved( TQWidget*, TQWidget*, int ) ) ); + connect( mFrame, TQ_SIGNAL( summaryWidgetDropped( TQWidget*, TQWidget*, int ) ), + this, TQ_SLOT( summaryWidgetMoved( TQWidget*, TQWidget*, int ) ) ); updateWidgets(); } diff --git a/kontact/plugins/summary/summaryview_part.h b/kontact/plugins/summary/summaryview_part.h index 4b6b3126..c7c55e14 100644 --- a/kontact/plugins/summary/summaryview_part.h +++ b/kontact/plugins/summary/summaryview_part.h @@ -51,7 +51,7 @@ class KCMultiDialog; class SummaryViewPart : public KParts::ReadOnlyPart { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/summary/summaryview_plugin.cpp b/kontact/plugins/summary/summaryview_plugin.cpp index 81e46a8e..711c2b39 100644 --- a/kontact/plugins/summary/summaryview_plugin.cpp +++ b/kontact/plugins/summary/summaryview_plugin.cpp @@ -34,7 +34,7 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_summaryplugin, SummaryViewFactory( "kontact_summaryplugin" ) ) SummaryView::SummaryView( Kontact::Core *core, const char *name, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), name), + : Kontact::Plugin( core, core, name), mAboutData( 0 ), mPart( 0 ) { setInstance( SummaryViewFactory::instance() ); @@ -42,8 +42,8 @@ SummaryView::SummaryView( Kontact::Core *core, const char *name, const TQStringL mSyncAction = new TDESelectAction( i18n( "Synchronize All" ), "reload", 0, 0, 0, actionCollection(), "kontact_summary_sync" ); - connect( mSyncAction, TQT_SIGNAL( activated( const TQString& ) ), this, TQT_SLOT( syncAccount( const TQString& ) ) ); - connect( mSyncAction->popupMenu(), TQT_SIGNAL( aboutToShow() ), this, TQT_SLOT( fillSyncActionSubEntries() ) ); + connect( mSyncAction, TQ_SIGNAL( activated( const TQString& ) ), this, TQ_SLOT( syncAccount( const TQString& ) ) ); + connect( mSyncAction->popupMenu(), TQ_SIGNAL( aboutToShow() ), this, TQ_SLOT( fillSyncActionSubEntries() ) ); insertSyncAction( mSyncAction ); fillSyncActionSubEntries(); diff --git a/kontact/plugins/summary/summaryview_plugin.h b/kontact/plugins/summary/summaryview_plugin.h index 5ea25786..cef65f5d 100644 --- a/kontact/plugins/summary/summaryview_plugin.h +++ b/kontact/plugins/summary/summaryview_plugin.h @@ -34,7 +34,7 @@ class SummaryViewPart; class SummaryView : public Kontact::Plugin { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/test/kptestplugin.desktop b/kontact/plugins/test/kptestplugin.desktop index a41e1fc1..63aa2114 100644 --- a/kontact/plugins/test/kptestplugin.desktop +++ b/kontact/plugins/test/kptestplugin.desktop @@ -10,101 +10,6 @@ X-TDE-PluginInfo-Name=kptestplugin X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-EnabledByDefault=false -Comment=Kontact Test Plugin -Comment[af]=Kontact toets inprop module -Comment[be]=Тэставае дапаўненне Кантакту -Comment[bg]=Приставка за проба -Comment[bs]=Kontact testni dodatak -Comment[ca]=Endollable de prova per a Kontact -Comment[cy]=Ategyn Prawf Kontact -Comment[da]=Kontact Test-plugin -Comment[de]=Test-Modul für Kontact -Comment[el]=Δοκιμαστικό πρόσθετο του Kontact -Comment[eo]=Kontact-Testkromaĵo -Comment[es]=Plugin de prueba para Kontact -Comment[et]=Kontacti testplugin -Comment[eu]=Kontact-en proba plugin-a -Comment[fa]=وصلۀ آزمون Kontact -Comment[fi]=Kontactin testiliitännäinen -Comment[fr]=Module de test pour Kontact -Comment[fy]=Kontact Test-plugin -Comment[gl]=Extensión de Proba para Kontact -Comment[he]=תוסף ניסיון עבור Kontact -Comment[hi]=कॉन्टेक्ट जांच प्लगइन -Comment[hu]=Kontact tesztmodul -Comment[is]=Kontact prufu íforrit -Comment[it]=Plugin test Kontact -Comment[ja]=Kontact テストプラグイン -Comment[kk]=Сынақ модулі -Comment[km]=កម្មវិធីជំនួយការសាកល្បងក្នុង Kontact -Comment[lt]=Kontact bandymo priedas -Comment[mk]=Приклучок за тест на Контакт -Comment[ms]=Plugin Ujian Kontact -Comment[nb]=Kontact test-programtillegg -Comment[nds]=Test-Moduul för Kontact -Comment[ne]=परीक्षण प्लगइनमा सम्पर्क गर्नुहोस् -Comment[nl]=Kontact Test-plugin -Comment[nn]=Kontact, test-programtillegg -Comment[pl]=Wtyczka Kontact do testowania -Comment[pt]='Plugin' de Teste do Kontact -Comment[pt_BR]=Plug-in para Teste do Kontact -Comment[ro]=Modul de test Kontact -Comment[ru]=Проверочный модуль Kontact -Comment[se]=Kontact, geahččalanlassemoduvla -Comment[sl]=Preizkusni vstavek za Kontact -Comment[sr]=Пробни прикључак Kontact-а -Comment[sr@Latn]=Probni priključak Kontact-a -Comment[sv]=Kontact-testinsticksprogram -Comment[ta]=பரிசோதனை சொருகுப்பொருளை தொடர்பு கொள் -Comment[tg]=Модули матнии Kontact -Comment[tr]=Kontact Test Eklentisi -Comment[uk]=Тестовий втулок Kontact -Comment[uz]=Kontact учун синаш плагини -Comment[zh_CN]=Kontact Test 插件 -Comment[zh_TW]=Kontact 測試外掛程式 Name=TestPlugin -Name[af]=Toets inprop module -Name[be]=Тэставае дапаўненне -Name[bg]=Приставка за тестване -Name[ca]=Endollable de prova -Name[cy]=AtegynPrawf -Name[de]=TestModul -Name[el]=Πρόσθετο ελέγχου -Name[eo]=Testo-kromaĵo -Name[fa]=وصلۀ آزمون -Name[fr]=Module de test -Name[fy]=Test-plugin -Name[he]=תוסף ניסיון -Name[hi]=टेस्ट-प्लगइन -Name[hr]=Probni dodatak -Name[hu]=Tesztmodul -Name[is]=Prufu íforrit -Name[it]=Plugin Test -Name[ja]=テストプラグイン -Name[kk]=Сынақ модулі -Name[km]=កម្មវិធីជំនួយការសាកល្បង -Name[mk]=Приклучок за тест -Name[ms]=Plugin Ujian -Name[nb]=Test-programtillegg -Name[nds]=Testmoduul -Name[ne]=परीक्षण प्लगइन -Name[nl]=Test-plugin -Name[nn]=Test-programtillegg -Name[nso]=Plugin ya Teko -Name[pl]=Wtyczka testowa -Name[pt_BR]=Plug-in de Teste -Name[ro]=Modul de test -Name[ru]=Проверочный модуль -Name[se]=Geahččalan-lassemoduvla -Name[sk]=TestModul -Name[sl]=Preizkusni vstavek -Name[sr]=Пробни прикључак -Name[sr@Latn]=Probni priključak -Name[sv]=Testinsticksprogram -Name[ta]=சோதனை சொருகுப்பொருள் -Name[tg]=Модули матнӣ -Name[tr]=Test Eklentisi -Name[uk]=Тестовий втулок -Name[ven]=Lingani Plugin -Name[zh_CN]=Test 插件 -Name[zh_TW]=測試外掛程式 + +Comment=Kontact Test Plugin diff --git a/kontact/plugins/test/test_part.cpp b/kontact/plugins/test/test_part.cpp index 2e712ae8..12a7b483 100644 --- a/kontact/plugins/test/test_part.cpp +++ b/kontact/plugins/test/test_part.cpp @@ -48,14 +48,14 @@ TestPart::TestPart(TQObject *parent, const char *name) // ## parentWidget m_edit = new TQTextEdit; setWidget(m_edit); setXMLFile("testpartui.rc"); - new TDEAction( "new contact (test)", 0, this, TQT_SLOT( newContact() ), actionCollection(), "test_deleteevent" ); + new TDEAction( "new contact (test)", 0, this, TQ_SLOT( newContact() ), actionCollection(), "test_deleteevent" ); m_kab_stub = 0L; new KParts::SideBarExtension(new TQComboBox(this), this, "sbe"); kapp->dcopClient()->setNotifications( true ); - connect( kapp->dcopClient(), TQT_SIGNAL( applicationRemoved( const TQCString&)), - this, TQT_SLOT( unregisteredFromDCOP( const TQCString& )) ); + connect( kapp->dcopClient(), TQ_SIGNAL( applicationRemoved( const TQCString&)), + this, TQ_SLOT( unregisteredFromDCOP( const TQCString& )) ); } TestPart::~TestPart() diff --git a/kontact/plugins/test/test_part.h b/kontact/plugins/test/test_part.h index af7da8f8..10f9ced9 100644 --- a/kontact/plugins/test/test_part.h +++ b/kontact/plugins/test/test_part.h @@ -33,7 +33,7 @@ class KAddressBookIface_stub; class TestPart : public KParts::ReadOnlyPart { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/test/test_plugin.cpp b/kontact/plugins/test/test_plugin.cpp index 631d91cb..e98cd4f2 100644 --- a/kontact/plugins/test/test_plugin.cpp +++ b/kontact/plugins/test/test_plugin.cpp @@ -35,11 +35,11 @@ typedef KGenericFactory< TestPlugin, Kontact::Core > TestPluginFactory; K_EXPORT_COMPONENT_FACTORY( libkptestplugin, TestPluginFactory( "kptestplugin" ) ) TestPlugin::TestPlugin(Kontact::Core *_core, const char *name, const TQStringList &) - : Kontact::Plugin(_core, TQT_TQOBJECT(_core), name) + : Kontact::Plugin(_core, _core, name) { setInstance(TestPluginFactory::instance()); - insertNewAction(new TDEAction("Test", 0, this, TQT_SLOT(slotTestMenu()), actionCollection(), "edit_test")); + insertNewAction(new TDEAction("Test", 0, this, TQ_SLOT(slotTestMenu()), actionCollection(), "edit_test")); setXMLFile("kptestplugin.rc"); } diff --git a/kontact/plugins/test/test_plugin.h b/kontact/plugins/test/test_plugin.h index 2a541c84..ad9f081d 100644 --- a/kontact/plugins/test/test_plugin.h +++ b/kontact/plugins/test/test_plugin.h @@ -33,7 +33,7 @@ class TestPart; class TestPlugin : public Kontact::Plugin { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact/plugins/weather/CMakeLists.txt b/kontact/plugins/weather/CMakeLists.txt index 3c3928cb..0882e2d4 100644 --- a/kontact/plugins/weather/CMakeLists.txt +++ b/kontact/plugins/weather/CMakeLists.txt @@ -24,9 +24,11 @@ link_directories( ##### other data ################################ -install( FILES - weatherplugin.desktop - DESTINATION ${SERVICES_INSTALL_DIR}/kontact ) +tde_create_translated_desktop( + SOURCE weatherplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kontact + PO_DIR kontact-desktops +) ##### libkontact_weatherplugin (module) ######### diff --git a/kontact/plugins/weather/summarywidget.cpp b/kontact/plugins/weather/summarywidget.cpp index 37fbe74d..323ad8de 100644 --- a/kontact/plugins/weather/summarywidget.cpp +++ b/kontact/plugins/weather/summarywidget.cpp @@ -69,7 +69,7 @@ SummaryWidget::SummaryWidget( TQWidget *parent, const char *name ) if ( reply.isValid() ) { mStations = reply; - connect( &mTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( timeout() ) ); + connect( &mTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( timeout() ) ); mTimer.start( 0 ); } else { kdDebug(5602) << "ERROR: dcop reply not valid..." << endl; @@ -117,8 +117,8 @@ void SummaryWidget::updateView() urlLabel->setAlignment( AlignTop ); layout->addMultiCellWidget( urlLabel, 0, 1, 0, 0 ); mLabels.append( urlLabel ); - connect ( urlLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ), - this, TQT_SLOT( showReport( const TQString& ) ) ); + connect ( urlLabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), + this, TQ_SLOT( showReport( const TQString& ) ) ); TQLabel* label = new TQLabel( this ); label->setText( TQString( "%1 (%2)" ).arg( (*it).name() ).arg( (*it).temperature() ) ); @@ -210,8 +210,8 @@ void SummaryWidget::updateSummary( bool ) void SummaryWidget::showReport( const TQString &stationID ) { mProc = new TDEProcess; - TQApplication::connect( mProc, TQT_SIGNAL( processExited( TDEProcess* ) ), - this, TQT_SLOT( reportFinished( TDEProcess* ) ) ); + TQApplication::connect( mProc, TQ_SIGNAL( processExited( TDEProcess* ) ), + this, TQ_SLOT( reportFinished( TDEProcess* ) ) ); *mProc << "kweatherreport"; *mProc << stationID; diff --git a/kontact/plugins/weather/summarywidget.h b/kontact/plugins/weather/summarywidget.h index 96361526..196269fd 100644 --- a/kontact/plugins/weather/summarywidget.h +++ b/kontact/plugins/weather/summarywidget.h @@ -86,7 +86,7 @@ class WeatherData class SummaryWidget : public Kontact::Summary, public DCOPObject { - Q_OBJECT + TQ_OBJECT // K_DCOP public: diff --git a/kontact/plugins/weather/weather_plugin.cpp b/kontact/plugins/weather/weather_plugin.cpp index 93a97bfc..506b16fd 100644 --- a/kontact/plugins/weather/weather_plugin.cpp +++ b/kontact/plugins/weather/weather_plugin.cpp @@ -32,7 +32,7 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_weatherplugin, WeatherPluginFactory( "kontact_weatherplugin" ) ) WeatherPlugin::WeatherPlugin( Kontact::Core *core, const char *name, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), name ), mAboutData( 0 ) + : Kontact::Plugin( core, core, name ), mAboutData( 0 ) { setInstance( WeatherPluginFactory::instance() ); } diff --git a/kontact/plugins/weather/weatherplugin.desktop b/kontact/plugins/weather/weatherplugin.desktop index 04ae285a..1a5ab9a4 100644 --- a/kontact/plugins/weather/weatherplugin.desktop +++ b/kontact/plugins/weather/weatherplugin.desktop @@ -15,70 +15,6 @@ X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-License=LGPL X-TDE-PluginInfo-EnabledByDefault=true -Comment=Kontact Weather Component -Comment[bg]=Приставка за метеорологичното време -Comment[ca]=Component del temps del Kontact -Comment[da]=Vejrkomponent til Kontact -Comment[de]=Wetter-Komponente für Kontact -Comment[el]=Συστατικό καιρού του Kontact -Comment[et]=Kontacti ilmaplugin -Comment[it]=Componente meteorologico di Kontact -Comment[ja]=Kontact 気象情報コンポーネント -Comment[nds]=Kontact-Wederkomponent -Comment[nl]=Kontact Weercomponent -Comment[pl]=Składnik Kontaktu wiadomości o pogodzie -Comment[sr]=Компонента времена за Kontact -Comment[sr@Latn]=Komponenta vremena za Kontact -Comment[sv]=Kontacts väderkomponent -Comment[zh_CN]=Kontact 天气插件 -Comment[zh_TW]=Kontact 天氣組件 Name=Weather Service -Name[af]=Weer diens -Name[ar]=خدمة الطقس -Name[bg]=Информация за времето -Name[br]=Servij an amzer -Name[ca]=Servei meteorològic -Name[cs]=Služba počasí -Name[cy]=GwasanaethTywydd -Name[da]=Vejrtjeneste -Name[de]=Wetterdienst -Name[el]=Υπηρεσία πρόβλεψης Καιρού -Name[eo]=Veterservo -Name[es]=Servicio meteorológico -Name[et]=Ilmateade -Name[eu]=Eguraldiaren zerbitzua -Name[fa]=خدمت آب و هوا -Name[fi]=Sääpalvelu -Name[fr]=KWeatherService -Name[fy]=Waarberjocht -Name[ga]=Seirbhís Aimsire -Name[gl]=Servicio do Tempo -Name[he]=שירות מזג אוויר -Name[hu]=Időjárás -Name[is]=Veðurþjónusta -Name[it]=Servizio meteorologico -Name[ja]=気象サービス -Name[kk]=Ауа райы қызметі -Name[km]=សេវាអាកាសធាតុ -Name[lt]=Orų tarnyba -Name[mk]=Временска прогноза -Name[nb]=Værtjeneste -Name[nds]=Wederdeenst -Name[ne]=मौसम कार्य -Name[nl]=Weerbericht -Name[nn]=Vêrmelding -Name[pl]=Pogoda -Name[pt]=Serviço Meteorológico -Name[pt_BR]=Serviço de Previsão do Tempo -Name[ru]=Погода -Name[sk]=Služba počasie -Name[sl]=Vremenska storitev -Name[sr]=Време -Name[sr@Latn]=Vreme -Name[sv]=Väderleksprognos -Name[th]=รายงานอากาศ -Name[tr]=Hava Durumu Servisi -Name[uk]=Служба погоди -Name[uz]=Об-ҳаво хизмати -Name[zh_CN]=天气服务 -Name[zh_TW]=天氣服務 + +Comment=Kontact Weather Component |