aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/qgpgmequickjob.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-12-13qt: Fix validity for (sub)keys generated using QGpgMEQuickJobtobias/fix-expiresTobias Fella1-2/+4
* lang/qt/src/qgpgmequickjob.cpp: Fix expiration calculation -- The job calculates the validity as the seconds since epoch, while GPG expects the seconds since the current time. This leads to the validity being significantly longer than expected. GnuPG-Bug-Id: 6889
2020-10-29qt: Add support for revoke signature quick commandIngo Klöcker1-2/+22
* lang/qt/src/quickjob.h (QuickJob::startRevokeSignature): New. * lang/qt/src/qgpgmequickjob.h, lang/qt/src/qgpgmequickjob.cpp (QGpgMEQuickJob::startRevokeSignature): New. * lang/qt/src/qgpgmequickjob.cpp (revokeSignatureWorker): New. -- GnuPG-bug-id: 5094
2017-12-11qt: Don't use QDateTime::toSecsSinceEpochAndre Heinecke1-2/+2
* lang/qt/src/qgpgmequickjob.cpp (addSubkeyWorker) (createWorker): Use toMSecsSinceEpoch instead toSecsSinceEpoch. -- toSecsSinceEpoch was only introduced in Qt 5.8.
2017-12-01qt: Add job for quick commandsAndre Heinecke1-0/+123
* lang/qt/src/qgpgmequickjob.cpp, lang/qt/src/qgpgmequickjob.h, lang/qt/src/quickjob.h: New. * lang/qt/src/Makefile.am, lang/qt/src/protocol.h, lang/qt/src/protocol_p.h, lang/qt/src/job.cpp: Update accordingly. -- Keeping it in line with the Job for everything pattern. Although it's reduced to one job for four commands as the commands all behave the same.