aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/signarchivejob.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qt/src/signarchivejob.h')
-rw-r--r--lang/qt/src/signarchivejob.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/qt/src/signarchivejob.h b/lang/qt/src/signarchivejob.h
index f30e3e5e..ef2b6754 100644
--- a/lang/qt/src/signarchivejob.h
+++ b/lang/qt/src/signarchivejob.h
@@ -80,6 +80,23 @@ public:
const std::shared_ptr<QIODevice> &output) = 0;
Q_SIGNALS:
+ /**
+ * This signal is emitted whenever gpgtar sends a progress status update for
+ * the number of files. In the scanning phase (i.e. while gpgtar checks
+ * which files to put into the archive), \a current is the current number of
+ * files and \a total is 0. In the writing phase, \a current is the number
+ * of processed files and \a total is the total number of files.
+ */
+ void fileProgress(int current, int total);
+
+ /**
+ * This signal is emitted whenever gpgtar sends a progress status update for
+ * the amount of processed data. It is only emitted in the writing phase.
+ * \a current is the processed amount data and \a total is the total amount
+ * of data to process. Both values never exceed 2^20.
+ */
+ void dataProgress(int current, int total);
+
void result(const GpgME::SigningResult &result,
const QString &auditLogAsHtml = {},
const GpgME::Error &auditLogError = {});