aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/thread/VersionCheckThread.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-23 07:36:55 +0000
committerSaturneric <[email protected]>2022-01-23 07:38:54 +0000
commit247b5b8f7ffb5cf7df5d4bc0e4fb786152934569 (patch)
treedaa5b6f39a1a4c07d4fa10a478d159e17059609c /src/ui/thread/VersionCheckThread.h
parent<refactor>(ui): tidy up codes and comments. (diff)
downloadGpgFrontend-247b5b8f7ffb5cf7df5d4bc0e4fb786152934569.tar.gz
GpgFrontend-247b5b8f7ffb5cf7df5d4bc0e4fb786152934569.zip
<refactor>(ui): tidy up codes and comments.
1. tidy up thread.
Diffstat (limited to '')
-rw-r--r--src/ui/thread/VersionCheckThread.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/src/ui/thread/VersionCheckThread.h b/src/ui/thread/VersionCheckThread.h
index d457f1fd..3a1cd698 100644
--- a/src/ui/thread/VersionCheckThread.h
+++ b/src/ui/thread/VersionCheckThread.h
@@ -34,21 +34,40 @@
namespace GpgFrontend::UI {
+/**
+ * @brief
+ *
+ */
class VersionCheckThread : public QThread {
Q_OBJECT
public:
+ /**
+ * @brief Construct a new Version Check Thread object
+ *
+ */
explicit VersionCheckThread();
signals:
- void upgradeVersion(SoftwareVersion version);
+ /**
+ * @brief
+ *
+ * @param version
+ */
+ void SignalUpgradeVersion(SoftwareVersion version);
protected:
+ /**
+ * @brief
+
+ *
+ */
void run() override;
private:
- QByteArray latest_reply_bytes_, current_reply_bytes_;
+ QByteArray latest_reply_bytes_; ///<
+ QByteArray current_reply_bytes_; ///<
};
} // namespace GpgFrontend::UI