summaryrefslogtreecommitdiffstats
path: root/logic/news/NewsChecker.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-04-26 23:04:50 +0200
committerPetr Mrázek <peterix@gmail.com>2015-04-26 23:04:50 +0200
commitf8650e3965582a57c3d0ccb5f234e6229051b16a (patch)
treef815fc22ae303e0ebe491a5d38b3f09c94da948d /logic/news/NewsChecker.h
parent84549ed8078bdbd029aa5a89facc0412b8b5e753 (diff)
downloadMultiMC-f8650e3965582a57c3d0ccb5f234e6229051b16a.tar
MultiMC-f8650e3965582a57c3d0ccb5f234e6229051b16a.tar.gz
MultiMC-f8650e3965582a57c3d0ccb5f234e6229051b16a.tar.lz
MultiMC-f8650e3965582a57c3d0ccb5f234e6229051b16a.tar.xz
MultiMC-f8650e3965582a57c3d0ccb5f234e6229051b16a.zip
NOISSUE eliminate ProgressProvider
Diffstat (limited to 'logic/news/NewsChecker.h')
-rw-r--r--logic/news/NewsChecker.h8
1 files changed, 4 insertions, 4 deletions
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.
*/