• 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
kgpgsendkeys.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 KGPGSENDKEYS_H
15 #define KGPGSENDKEYS_H
16 
17 #include <QObject>
18 #include <QString>
19 #include <QStringList>
20 
21 #include "kgpgkeyservertransaction.h"
22 
26 class KGpgSendKeys: public KGpgKeyserverTransaction {
27  Q_OBJECT
28 
29  Q_DISABLE_COPY(KGpgSendKeys)
33  KGpgSendKeys(); // = delete C++0x
34 public:
47  KGpgSendKeys(QObject *parent, const QString &keyserver, const QStringList &keys, const QString &attropt = QString(), const bool withProgress = false, const QString &proxy = QString());
48  virtual ~KGpgSendKeys();
49 
50  void setKeyIds(const QStringList &keys);
57  void setAttributeOptions(const QString &opt);
58 
59  const QStringList &getLog() const;
60 
61 protected:
62  virtual bool preStart();
63  virtual bool nextLine(const QString &line);
64 
65 private:
66  int m_attrpos;
67  QString m_attributeopt;
68  QStringList m_keys;
69  QStringList m_log;
70 };
71 
72 #endif // KGPGSENDKEYS_H
kgpgkeyservertransaction.h
KGpgSendKeys::nextLine
virtual bool nextLine(const QString &line)
Called for every line the gpg process writes.
Definition: kgpgsendkeys.cpp:54
KGpgSendKeys::setKeyIds
void setKeyIds(const QStringList &keys)
Definition: kgpgsendkeys.cpp:69
KGpgSendKeys::preStart
virtual bool preStart()
Called before the gpg process is started.
Definition: kgpgsendkeys.cpp:35
KGpgSendKeys::setAttributeOptions
void setAttributeOptions(const QString &opt)
set which attributes are exported
Definition: kgpgsendkeys.cpp:75
QObject
KGpgSendKeys::~KGpgSendKeys
virtual ~KGpgSendKeys()
Definition: kgpgsendkeys.cpp:30
QString
QStringList
KGpgSendKeys::getLog
const QStringList & getLog() const
Definition: kgpgsendkeys.cpp:63
KGpgKeyserverTransaction
base class for transactions involving key servers
Definition: kgpgkeyservertransaction.h:27
QObject::parent
QObject * parent() const
KGpgSendKeys
class for uploading keys from the keyring to a keyserver
Definition: kgpgsendkeys.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