diff options
author | Michele Calgaro <[email protected]> | 2024-01-01 17:47:34 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-01 17:47:34 +0900 |
commit | 27fd576acbb8b9453dadd7d1ae949396eef8fc12 (patch) | |
tree | ee739b602572a496ce9ca24318cf1b371dbd7174 /plugins/rssfeed/rssfeed.cpp | |
parent | 09d3e49e01a4b798762fd505810b092fd0c77b47 (diff) | |
download | ktorrent-27fd576acbb8b9453dadd7d1ae949396eef8fc12.tar.gz ktorrent-27fd576acbb8b9453dadd7d1ae949396eef8fc12.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'plugins/rssfeed/rssfeed.cpp')
-rw-r--r-- | plugins/rssfeed/rssfeed.cpp | 12 |
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(); } |