summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/newsticker
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/newsticker')
-rw-r--r--kontact/plugins/newsticker/CMakeLists.txt13
-rw-r--r--kontact/plugins/newsticker/kcmkontactknt.cpp32
-rw-r--r--kontact/plugins/newsticker/kcmkontactknt.desktop140
-rw-r--r--kontact/plugins/newsticker/kcmkontactknt.h4
-rw-r--r--kontact/plugins/newsticker/newsticker_plugin.cpp2
-rw-r--r--kontact/plugins/newsticker/newstickerplugin.desktop76
-rw-r--r--kontact/plugins/newsticker/summarywidget.cpp20
-rw-r--r--kontact/plugins/newsticker/summarywidget.h2
8 files changed, 45 insertions, 244 deletions
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..4a698ff8 100644
--- a/kontact/plugins/newsticker/kcmkontactknt.cpp
+++ b/kontact/plugins/newsticker/kcmkontactknt.cpp
@@ -45,7 +45,7 @@
#include "newsfeeds.h"
-#include <tdepimmacros.h>
+#include <kdemacros.h>
extern "C"
{
@@ -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