aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context.cpp
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-02-13 09:58:31 +0000
committerIngo Klöcker <[email protected]>2023-02-14 08:25:21 +0000
commitea6f15ed602eeb9fa87766ba88acc78361a14b38 (patch)
tree8e3d23caee9507a367920116fddae0b6bc8fb9ed /lang/cpp/src/context.cpp
parentcore: Switch to logging via gpgrt (diff)
downloadgpgme-ea6f15ed602eeb9fa87766ba88acc78361a14b38.tar.gz
gpgme-ea6f15ed602eeb9fa87766ba88acc78361a14b38.zip
qt: Add simple and extended progress signals replacing old signal
* lang/qt/src/job.h (Job): Add signals jobProgress and rawProgress. Deprecate signal progress. * lang/qt/src/multideletejob.cpp (MultiDeleteJob::slotResult): Emit new progress signals. * lang/qt/src/qgpgmerefreshsmimekeysjob.cpp (QGpgMERefreshSMIMEKeysJob::slotStatus): Ditto. * lang/qt/src/threadedjobmixin.h (ThreadedJobMixin::showProgress): Use modern overload of QMetaObject::invokeMethod to forward the progress signal and add the value of what. Add forwarding of progress to the new signals. * lang/qt/tests/t-encrypt.cpp (EncryptionTest::testProgress): Test the new signals instead of the deprecated one. -- The new signal jobProgress omits the what value which is useless for most consumers. The new signal rawProgress makes all information provided by the backend available to consumers. The latter is not really meant to be used by users of gpgme. It will be used by the archive jobs to provide more user-friendly signals. GnuPG-bug-id: 6342
Diffstat (limited to 'lang/cpp/src/context.cpp')
0 files changed, 0 insertions, 0 deletions