aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui/help
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/help')
-rw-r--r--include/ui/help/AboutDialog.h13
-rw-r--r--include/ui/help/VersionCheckThread.h26
2 files changed, 36 insertions, 3 deletions
diff --git a/include/ui/help/AboutDialog.h b/include/ui/help/AboutDialog.h
index 74391b5a..dee2c018 100644
--- a/include/ui/help/AboutDialog.h
+++ b/include/ui/help/AboutDialog.h
@@ -72,6 +72,12 @@ public:
explicit UpdateTab(QWidget *parent = nullptr);
void getLatestVersion();
+
+private slots:
+ void processReplyDataFromUpdateServer(const QByteArray& data);;
+
+signals:
+ void replyFromUpdateServer(QByteArray data);
};
/**
@@ -83,6 +89,13 @@ Q_OBJECT
public:
explicit AboutDialog(int defaultIndex, QWidget *parent);
+
+
+protected:
+ void showEvent(QShowEvent *ev) override;
+
+private:
+ UpdateTab *updateTab;
};
#endif // __ABOUTDIALOG_H__
diff --git a/include/ui/help/VersionCheckThread.h b/include/ui/help/VersionCheckThread.h
index 10c9da87..7ee90077 100644
--- a/include/ui/help/VersionCheckThread.h
+++ b/include/ui/help/VersionCheckThread.h
@@ -1,6 +1,26 @@
-//
-// Created by Administrator on 2021/7/12.
-//
+/**
+ * This file is part of GPGFrontend.
+ *
+ * GPGFrontend is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Foobar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see <https://www.gnu.org/licenses/>.
+ *
+ * The initial version of the source code is inherited from gpg4usb-team.
+ * Their source code version also complies with GNU General Public License.
+ *
+ * The source code version of this software was modified and released
+ * by Saturneric<[email protected]> starting on May 12, 2021.
+ *
+ */
#ifndef GPGFRONTEND_VERSIONCHECKTHREAD_H
#define GPGFRONTEND_VERSIONCHECKTHREAD_H