summaryrefslogtreecommitdiffstats
path: root/plugins/rssfeed/rssfeed.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-01 17:47:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-01 20:24:02 +0900
commit657dd888c8a6bdc820669c441d9e1647b2ed0be1 (patch)
tree514013ec3bf94a3dc193789fbddb80ca48d09805 /plugins/rssfeed/rssfeed.cpp
parent4caf6f3c92ecc2c41a5a1fe425d4eecc35cfe0e9 (diff)
downloadktorrent-657dd888c8a6bdc820669c441d9e1647b2ed0be1.tar.gz
ktorrent-657dd888c8a6bdc820669c441d9e1647b2ed0be1.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 27fd576acbb8b9453dadd7d1ae949396eef8fc12)
Diffstat (limited to 'plugins/rssfeed/rssfeed.cpp')
-rw-r--r--plugins/rssfeed/rssfeed.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/rssfeed/rssfeed.cpp b/plugins/rssfeed/rssfeed.cpp
index 5b45a4c..2e8d14b 100644
--- a/plugins/rssfeed/rssfeed.cpp
+++ b/plugins/rssfeed/rssfeed.cpp
@@ -48,8 +48,8 @@ namespace kt
feedLoading = false;
loadArticles();
- connect(&refreshTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT( refreshFeed() ) );
- connect(this, TQT_SIGNAL(articlesChanged(const RssArticle::List&)), this, TQT_SLOT( saveArticles() ) );
+ connect(&refreshTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT( refreshFeed() ) );
+ connect(this, TQ_SIGNAL(articlesChanged(const RssArticle::List&)), this, TQ_SLOT( saveArticles() ) );
startFeed();
}
@@ -261,8 +261,8 @@ namespace kt
feedLoading = true;
cleanArticles();
Loader * feedLoader = Loader::create();
- connect( feedLoader, TQT_SIGNAL( loadingComplete( Loader *, Document, Status ) ),
- this, TQT_SLOT( feedLoaded( Loader *, Document, Status ) ) );
+ connect( feedLoader, TQ_SIGNAL( loadingComplete( Loader *, Document, Status ) ),
+ this, TQ_SLOT( feedLoaded( Loader *, Document, Status ) ) );
feedLoader->loadFrom( m_feedUrl, new FileRetriever );
}
@@ -313,8 +313,8 @@ namespace kt
tqDebug( "There was and error loading the feed\n");
}
- disconnect( feedLoader, TQT_SIGNAL( loadingComplete( Loader *, Document, Status ) ),
- this, TQT_SLOT( feedLoaded( Loader *, Document, Status ) ) );
+ disconnect( feedLoader, TQ_SIGNAL( loadingComplete( Loader *, Document, Status ) ),
+ this, TQ_SLOT( feedLoaded( Loader *, Document, Status ) ) );
feedLoader->deleteLater();
}