From f8650e3965582a57c3d0ccb5f234e6229051b16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 26 Apr 2015 23:04:50 +0200 Subject: NOISSUE eliminate ProgressProvider --- logic/news/NewsChecker.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'logic/news/NewsChecker.h') diff --git a/logic/news/NewsChecker.h b/logic/news/NewsChecker.h index 3a0f9ec8..effa80bf 100644 --- a/logic/news/NewsChecker.h +++ b/logic/news/NewsChecker.h @@ -31,7 +31,7 @@ public: * Constructs a news reader to read from the given RSS feed URL. */ NewsChecker(const QString& feedUrl); - + /*! * Returns the error message for the last time the news was loaded. * Empty string if the last load was successful. @@ -42,7 +42,7 @@ public: * Returns true if the news has been loaded successfully. */ bool isNewsLoaded() const; - + //! True if the news is currently loading. If true, reloadNews() will do nothing. bool isLoadingNews() const; @@ -70,7 +70,7 @@ signals: protected slots: void rssDownloadFinished(); - void rssDownloadFailed(); + void rssDownloadFailed(QString reason); protected: //! The URL for the RSS feed to fetch. @@ -91,7 +91,7 @@ protected: */ QString m_lastLoadError; - + /*! * Emits newsLoaded() and sets m_lastLoadError to empty string. */ -- cgit v1.2.3