• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

kgpg

  • sources
  • kde-4.14
  • kdeutils
  • kgpg
  • transactions
kgpgsignkey.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009 Rolf Eike Beer <kde@opensource.sf-tec.de>
3  */
4 
5 /***************************************************************************
6  * *
7  * This program is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  ***************************************************************************/
13 
14 #ifndef KGPGSIGNKEY_H
15 #define KGPGSIGNKEY_H
16 
17 #include <QList>
18 #include <QObject>
19 
20 #include "kgpgeditkeytransaction.h"
21 #include "kgpgsigntransactionhelper.h"
22 
23 class KGpgKeyNode;
24 
28 class KGpgSignKey: public KGpgEditKeyTransaction, public KGpgSignTransactionHelper {
29  Q_OBJECT
30 
31  Q_DISABLE_COPY(KGpgSignKey)
32  KGpgSignKey(); // = delete C++0x
33 
34 public:
45  KGpgSignKey(QObject *parent, const QString &signer, KGpgKeyNode *key, const bool local, const carefulCheck checking);
49  virtual ~KGpgSignKey();
50 
51 protected:
52  virtual bool nextLine(const QString &line);
53  virtual ts_boolanswer boolQuestion(const QString &line);
54  virtual bool passphraseReceived();
55 
56  virtual KGpgTransaction *asTransaction();
57  virtual void replaceCmd(const QString &cmd);
58 };
59 
60 #endif // KGPGSIGNKEY_H
KGpgSignKey::nextLine
virtual bool nextLine(const QString &line)
handle standard GnuPG prompts
Definition: kgpgsignkey.cpp:39
KGpgSignTransactionHelper
helper class for key signing transactions
Definition: kgpgsigntransactionhelper.h:25
KGpgSignKey::~KGpgSignKey
virtual ~KGpgSignKey()
destructor
Definition: kgpgsignkey.cpp:34
KGpgEditKeyTransaction
edit a single property of a key
Definition: kgpgeditkeytransaction.h:24
kgpgsigntransactionhelper.h
KGpgKeyNode
A public key with or without corresponding secret key.
Definition: KGpgKeyNode.h:33
KGpgSignKey::asTransaction
virtual KGpgTransaction * asTransaction()
returns the transaction object to use
Definition: kgpgsignkey.cpp:76
QObject
KGpgSignKey::passphraseReceived
virtual bool passphraseReceived()
called when GnuPG accepted the passphrase
Definition: kgpgsignkey.cpp:69
QString
KGpgTransaction::ts_boolanswer
ts_boolanswer
result codes for GnuPG boolean questions
Definition: kgpgtransaction.h:73
kgpgeditkeytransaction.h
KGpgSignKey::boolQuestion
virtual ts_boolanswer boolQuestion(const QString &line)
Called for every boolean question GnuPG answers.
Definition: kgpgsignkey.cpp:55
KGpgSignKey::replaceCmd
virtual void replaceCmd(const QString &cmd)
replaces the command passed to GnuPG
Definition: kgpgsignkey.cpp:82
KGpgTransaction
Process one GnuPG operation.
Definition: kgpgtransaction.h:44
QObject::parent
QObject * parent() const
KGpgSignTransactionHelper::carefulCheck
carefulCheck
Definition: kgpgsigntransactionhelper.h:38
KGpgSignKey
transaction class to sign all user ids of a key
Definition: kgpgsignkey.h:28
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kgpg

Skip menu "kgpg"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal