• 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
kgpguidtransaction.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 KGPGUIDTRANSACTION_H
15 #define KGPGUIDTRANSACTION_H
16 
17 #include <QObject>
18 #include <QString>
19 
20 #include "kgpgtransaction.h"
21 
25 class KGpgUidTransaction: public KGpgTransaction {
26  Q_OBJECT
27 
28  Q_DISABLE_COPY(KGpgUidTransaction)
29 public:
39  explicit KGpgUidTransaction(QObject *parent, const QString &keyid = QString(), const QString &uid = QString());
40  virtual ~KGpgUidTransaction();
41 
46  void setKeyId(const QString &keyid);
50  QString getKeyId(void) const;
55  void setUid(const QString &uid);
62  void setUid(const unsigned int uid);
63 
64 protected:
65  virtual bool preStart();
66 
75  bool standardCommands(const QString &line);
76 
77 private:
78  QString m_uid;
79  int m_uidpos;
80  QString m_keyid;
81  int m_keyidpos;
82 };
83 
84 #endif // KGPGUIDTRANSACTION_H
kgpgtransaction.h
KGpgUidTransaction::getKeyId
QString getKeyId(void) const
return the key id of the current transaction
Definition: kgpguidtransaction.cpp:74
KGpgUidTransaction::setUid
void setUid(const QString &uid)
set the uid number of the transaction to the given value
Definition: kgpguidtransaction.cpp:80
QObject
KGpgUidTransaction::~KGpgUidTransaction
virtual ~KGpgUidTransaction()
Definition: kgpguidtransaction.cpp:32
KGpgUidTransaction::setKeyId
void setKeyId(const QString &keyid)
set the key id of the transaction to the given value
Definition: kgpguidtransaction.cpp:66
QString
KGpgUidTransaction::standardCommands
bool standardCommands(const QString &line)
handle common GnuPG messages for uid transactions
Definition: kgpguidtransaction.cpp:45
KGpgTransaction
Process one GnuPG operation.
Definition: kgpgtransaction.h:44
QObject::parent
QObject * parent() const
KGpgUidTransaction::preStart
virtual bool preStart()
Called before the gpg process is started.
Definition: kgpguidtransaction.cpp:37
KGpgUidTransaction::KGpgUidTransaction
KGpgUidTransaction(QObject *parent, const QString &keyid=QString(), const QString &uid=QString())
construct a new transaction for the given key and uid
Definition: kgpguidtransaction.cpp:16
KGpgUidTransaction
base class for transactions involving only one user id of a key
Definition: kgpguidtransaction.h:25
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