[Pkg-gnupg-commit] [gpgme] 02/62: qt: Improve WKSPublishJob apidoc
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Sat Nov 19 04:03:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gpgme.
commit 26cbba3c9cb04a68b95f3a6000ac9bd93fe76dd7
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Wed Oct 19 15:17:09 2016 +0200
qt: Improve WKSPublishJob apidoc
* lang/qt/src/wkspublishjob.h: Improve doc.
---
lang/qt/src/wkspublishjob.h | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/lang/qt/src/wkspublishjob.h b/lang/qt/src/wkspublishjob.h
index 0cec630..b17cba4 100644
--- a/lang/qt/src/wkspublishjob.h
+++ b/lang/qt/src/wkspublishjob.h
@@ -47,6 +47,15 @@ namespace QGpgME {
*
* Remember that after a result is emitted the job is auto deleted
* so you can only use it for a single action.
+ *
+ * The workflow is to call startCreate, check for errors and then
+ * send the RFC822 mail returned in returnedData.
+ *
+ * When the response is received start a startRecieve with the
+ * RFC822 mail received as paramater response. Check for errors
+ * and then send again send the result from returnedData back to
+ * the server.
+ *
*/
class QGPGME_EXPORT WKSPublishJob: public Job
{
@@ -69,16 +78,16 @@ public:
virtual void startCheck(const QString &mailbox) = 0;
/** Create a publish request.
- * The returned Data from the result will contain
- * the full Mail as returned by gpg-wks-client --create
+ * The returnedData from the result signal will contain
+ * the full Request as returned by gpg-wks-client --create
*
* @param fpr the fingerprint of the key to create the request for.
* @param mailbox A simple mail address without a Name.
*/
virtual void startCreate(const char *fpr, const QString &mailbox) = 0;
- /** Handle a submisson response. The returned Data will contain
- * the full Mail as returned by gpg-wks-client --create
+ /** Handle a submisson response. The returnedData in the result singnal
+ * will contain the confirmation response as returned by gpg-wks-client --receive
*
* @param response The response of the server.
**/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list