summaryrefslogtreecommitdiffstats
path: root/api/logic/status/StatusChecker.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/status/StatusChecker.h')
-rw-r--r--api/logic/status/StatusChecker.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/api/logic/status/StatusChecker.h b/api/logic/status/StatusChecker.h
index f19aba9a..829b139d 100644
--- a/api/logic/status/StatusChecker.h
+++ b/api/logic/status/StatusChecker.h
@@ -1,4 +1,4 @@
-/* Copyright 2013-2018 MultiMC Contributors
+/* Copyright 2013-2019 MultiMC Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,36 +25,36 @@
class MULTIMC_LOGIC_EXPORT StatusChecker : public QObject
{
- Q_OBJECT
+ Q_OBJECT
public: /* con/des */
- StatusChecker();
+ StatusChecker();
public: /* methods */
- QString getLastLoadErrorMsg() const;
- bool isLoadingStatus() const;
- QMap<QString, QString> getStatusEntries() const;
+ QString getLastLoadErrorMsg() const;
+ bool isLoadingStatus() const;
+ QMap<QString, QString> getStatusEntries() const;
signals:
- void statusLoading(bool loading);
- void statusChanged(QMap<QString, QString> newStatus);
+ void statusLoading(bool loading);
+ void statusChanged(QMap<QString, QString> newStatus);
public slots:
- void reloadStatus();
+ void reloadStatus();
protected: /* methods */
- virtual void timerEvent(QTimerEvent *);
+ virtual void timerEvent(QTimerEvent *);
protected slots:
- void statusDownloadFinished();
- void statusDownloadFailed(QString reason);
- void succeed();
- void fail(const QString& errorMsg);
+ void statusDownloadFinished();
+ void statusDownloadFailed(QString reason);
+ void succeed();
+ void fail(const QString& errorMsg);
protected: /* data */
- QMap<QString, QString> m_prevEntries;
- QMap<QString, QString> m_statusEntries;
- NetJobPtr m_statusNetJob;
- QString m_lastLoadError;
- QByteArray dataSink;
+ QMap<QString, QString> m_prevEntries;
+ QMap<QString, QString> m_statusEntries;
+ NetJobPtr m_statusNetJob;
+ QString m_lastLoadError;
+ QByteArray dataSink;
};