diff options
author | Michele Calgaro <[email protected]> | 2025-01-20 18:26:41 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-20 18:26:41 +0900 |
commit | aae5ebe5008a41fe4a4767092d7e17600abf6725 (patch) | |
tree | 97002e11e1564bceeda4fb4b3b04164bb9e72286 /kontact/plugins/newsticker | |
parent | 69779eb81c20b80b56ab698f44a944efd6107a74 (diff) | |
download | tdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.tar.gz tdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.zip |
Use tdeApprename/tdeapp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kontact/plugins/newsticker')
-rw-r--r-- | kontact/plugins/newsticker/kcmkontactknt.cpp | 2 | ||||
-rw-r--r-- | kontact/plugins/newsticker/summarywidget.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kontact/plugins/newsticker/kcmkontactknt.cpp b/kontact/plugins/newsticker/kcmkontactknt.cpp index e186f2a13..84aaca95d 100644 --- a/kontact/plugins/newsticker/kcmkontactknt.cpp +++ b/kontact/plugins/newsticker/kcmkontactknt.cpp @@ -392,7 +392,7 @@ bool KCMKontactKNT::dcopActive() const TQString error; TQCString appID; bool isGood = true; - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); if ( !client->isApplicationRegistered( "rssservice" ) ) { if ( TDEApplication::startServiceByDesktopName( "rssservice", TQStringList(), &error, &appID ) ) isGood = false; diff --git a/kontact/plugins/newsticker/summarywidget.cpp b/kontact/plugins/newsticker/summarywidget.cpp index b7b3f8660..e209d031e 100644 --- a/kontact/plugins/newsticker/summarywidget.cpp +++ b/kontact/plugins/newsticker/summarywidget.cpp @@ -57,7 +57,7 @@ SummaryWidget::SummaryWidget( TQWidget *parent, const char *name ) TQCString appID; bool dcopAvailable = true; - if ( !kapp->dcopClient()->isApplicationRegistered( "rssservice" ) ) { + if ( !tdeApp->dcopClient()->isApplicationRegistered( "rssservice" ) ) { if ( TDEApplication::startServiceByDesktopName( "rssservice", TQStringList(), &error, &appID ) ) { TQLabel *label = new TQLabel( i18n( "No rss dcop service available.\nYou need rssservice to use this plugin." ), this ); vlay->addWidget( label, TQt::AlignHCenter ); @@ -224,7 +224,7 @@ void SummaryWidget::updateView() mLabels.append( urlLabel ); connect( urlLabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), - kapp, TQ_SLOT( invokeBrowser( const TQString& ) ) ); + tdeApp, TQ_SLOT( invokeBrowser( const TQString& ) ) ); connect( urlLabel, TQ_SIGNAL( rightClickedURL( const TQString& ) ), this, TQ_SLOT( rmbMenu( const TQString& ) ) ); @@ -253,7 +253,7 @@ void SummaryWidget::updateView() mLayout->addWidget( urlLabel ); connect( urlLabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), - kapp, TQ_SLOT( invokeBrowser( const TQString& ) ) ); + tdeApp, TQ_SLOT( invokeBrowser( const TQString& ) ) ); connect( urlLabel, TQ_SIGNAL( rightClickedURL( const TQString& ) ), this, TQ_SLOT( rmbMenu( const TQString& ) ) ); @@ -300,7 +300,7 @@ void SummaryWidget::rmbMenu( const TQString& url ) menu.insertItem( i18n( "Copy URL to Clipboard" ) ); int id = menu.exec( TQCursor::pos() ); if ( id != -1 ) - kapp->clipboard()->setText( url, TQClipboard::Clipboard ); + tdeApp->clipboard()->setText( url, TQClipboard::Clipboard ); } bool SummaryWidget::eventFilter( TQObject *obj, TQEvent* e ) |