summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/summary
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/summary')
-rw-r--r--kontact/plugins/summary/CMakeLists.txt14
-rw-r--r--kontact/plugins/summary/dropwidget.h2
-rw-r--r--kontact/plugins/summary/kcmkontactsummary.cpp8
-rw-r--r--kontact/plugins/summary/kcmkontactsummary.desktop59
-rw-r--r--kontact/plugins/summary/kcmkontactsummary.h4
-rw-r--r--kontact/plugins/summary/summaryplugin.desktop76
-rw-r--r--kontact/plugins/summary/summaryview_part.cpp36
-rw-r--r--kontact/plugins/summary/summaryview_part.h2
-rw-r--r--kontact/plugins/summary/summaryview_plugin.cpp6
-rw-r--r--kontact/plugins/summary/summaryview_plugin.h2
10 files changed, 46 insertions, 163 deletions
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: