diff options
Diffstat (limited to 'kontact/plugins/kmail')
-rw-r--r-- | kontact/plugins/kmail/CMakeLists.txt | 13 | ||||
-rw-r--r-- | kontact/plugins/kmail/kcmkmailsummary.cpp | 8 | ||||
-rw-r--r-- | kontact/plugins/kmail/kcmkmailsummary.desktop | 79 | ||||
-rw-r--r-- | kontact/plugins/kmail/kcmkmailsummary.h | 2 | ||||
-rw-r--r-- | kontact/plugins/kmail/kmail_plugin.cpp | 6 | ||||
-rw-r--r-- | kontact/plugins/kmail/kmail_plugin.h | 2 | ||||
-rw-r--r-- | kontact/plugins/kmail/kmailplugin.desktop | 35 | ||||
-rw-r--r-- | kontact/plugins/kmail/summarywidget.cpp | 9 | ||||
-rw-r--r-- | kontact/plugins/kmail/summarywidget.h | 2 |
9 files changed, 29 insertions, 127 deletions
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 |