diff options
Diffstat (limited to 'kontact/plugins/korganizer')
-rw-r--r-- | kontact/plugins/korganizer/CMakeLists.txt | 16 | ||||
-rw-r--r-- | kontact/plugins/korganizer/journalplugin.cpp | 6 | ||||
-rw-r--r-- | kontact/plugins/korganizer/journalplugin.desktop | 65 | ||||
-rw-r--r-- | kontact/plugins/korganizer/journalplugin.h | 2 | ||||
-rw-r--r-- | kontact/plugins/korganizer/kcmkorgsummary.cpp | 18 | ||||
-rw-r--r-- | kontact/plugins/korganizer/kcmkorgsummary.desktop | 104 | ||||
-rw-r--r-- | kontact/plugins/korganizer/kcmkorgsummary.h | 2 | ||||
-rw-r--r-- | kontact/plugins/korganizer/korganizerplugin.cpp | 6 | ||||
-rw-r--r-- | kontact/plugins/korganizer/korganizerplugin.desktop | 76 | ||||
-rw-r--r-- | kontact/plugins/korganizer/korganizerplugin.h | 2 | ||||
-rw-r--r-- | kontact/plugins/korganizer/summarywidget.cpp | 16 | ||||
-rw-r--r-- | kontact/plugins/korganizer/summarywidget.h | 2 | ||||
-rw-r--r-- | kontact/plugins/korganizer/todoplugin.cpp | 6 | ||||
-rw-r--r-- | kontact/plugins/korganizer/todoplugin.desktop | 35 | ||||
-rw-r--r-- | kontact/plugins/korganizer/todoplugin.h | 2 | ||||
-rw-r--r-- | kontact/plugins/korganizer/todosummarywidget.cpp | 18 | ||||
-rw-r--r-- | kontact/plugins/korganizer/todosummarywidget.h | 2 |
17 files changed, 59 insertions, 319 deletions
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: |