• 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
kgpgdelkey.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008,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 KGPGDELKEY_H
15 #define KGPGDELKEY_H
16 
17 #include "kgpgtransaction.h"
18 
19 #include <core/KGpgKeyNode.h>
20 
21 #include <QObject>
22 
26 class KGpgDelKey: public KGpgTransaction {
27  Q_OBJECT
28 
29  Q_DISABLE_COPY(KGpgDelKey)
30  KGpgDelKey(); // = delete C++0x
31 public:
32  KGpgDelKey(QObject *parent, KGpgKeyNode *key);
33  KGpgDelKey(QObject *parent, const KGpgKeyNode::List &keys);
34  virtual ~KGpgDelKey();
35 
40  KGpgKeyNode::List keys() const;
41 
42 protected:
43  virtual bool nextLine(const QString &line);
44  virtual ts_boolanswer boolQuestion(const QString &line);
45  virtual bool preStart();
46 
47 private:
48  KGpgKeyNode::List m_keys;
49  int m_argscount;
50 
51  void setCmdLine();
52 };
53 
54 #endif // KGPGDELKEY_H
kgpgtransaction.h
KGpgDelKey::nextLine
virtual bool nextLine(const QString &line)
Called for every line the gpg process writes.
Definition: kgpgdelkey.cpp:46
KGpgKeyNode
A public key with or without corresponding secret key.
Definition: KGpgKeyNode.h:33
QObject
KGpgDelKey::boolQuestion
virtual ts_boolanswer boolQuestion(const QString &line)
Called for every boolean question GnuPG answers.
Definition: kgpgdelkey.cpp:55
QString
QList
KGpgTransaction::ts_boolanswer
ts_boolanswer
result codes for GnuPG boolean questions
Definition: kgpgtransaction.h:73
KGpgDelKey::~KGpgDelKey
virtual ~KGpgDelKey()
Definition: kgpgdelkey.cpp:35
KGpgDelKey::keys
KGpgKeyNode::List keys() const
the keys that were requested to be removed
Definition: kgpgdelkey.cpp:40
KGpgKeyNode.h
KGpgTransaction
Process one GnuPG operation.
Definition: kgpgtransaction.h:44
QObject::parent
QObject * parent() const
KGpgDelKey::preStart
virtual bool preStart()
Called before the gpg process is started.
Definition: kgpgdelkey.cpp:67
KGpgDelKey
delete a public key
Definition: kgpgdelkey.h:26
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