• 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
kgpgadduid.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 KGPGADDUID_H
15 #define KGPGADDUID_H
16 
17 #include <QObject>
18 
19 #include "kgpgeditkeytransaction.h"
20 
21 class QString;
22 
26 class KGpgAddUid: public KGpgEditKeyTransaction {
27  Q_OBJECT
28 
29  Q_DISABLE_COPY(KGpgAddUid)
30 public:
31  KGpgAddUid(QObject *parent, const QString &keyid, const QString &name, const QString &email = QString(), const QString &comment = QString());
32  virtual ~KGpgAddUid();
33 
34  void setName(const QString &name);
35  void setEmail(const QString &email);
36  void setComment(const QString &comment);
37 
38 protected:
39  virtual bool preStart();
40  virtual bool nextLine(const QString &line);
41 
42 private:
43  QString m_name;
44  QString m_email;
45  QString m_comment;
46 };
47 
48 #endif // KGPGADDUID_H
KGpgAddUid
add a new user id to a key pair
Definition: kgpgadduid.h:26
KGpgEditKeyTransaction
edit a single property of a key
Definition: kgpgeditkeytransaction.h:24
KGpgAddUid::preStart
virtual bool preStart()
reset class before next operation starts
Definition: kgpgadduid.cpp:31
QObject::name
const char * name() const
KGpgAddUid::setComment
void setComment(const QString &comment)
Definition: kgpgadduid.cpp:78
KGpgAddUid::KGpgAddUid
KGpgAddUid(QObject *parent, const QString &keyid, const QString &name, const QString &email=QString(), const QString &comment=QString())
Definition: kgpgadduid.cpp:18
QObject
QString
KGpgAddUid::setEmail
void setEmail(const QString &email)
Definition: kgpgadduid.cpp:72
kgpgeditkeytransaction.h
KGpgAddUid::setName
void setName(const QString &name)
Definition: kgpgadduid.cpp:66
KGpgAddUid::nextLine
virtual bool nextLine(const QString &line)
handle standard GnuPG prompts
Definition: kgpgadduid.cpp:45
KGpgAddUid::~KGpgAddUid
virtual ~KGpgAddUid()
Definition: kgpgadduid.cpp:26
QObject::parent
QObject * parent() const
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