• 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
kgpgchangepass.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 KGPGCHANGEPASS_H
15 #define KGPGCHANGEPASS_H
16 
17 #include <QObject>
18 
19 #include "kgpgtransaction.h"
20 
24 class KGpgChangePass: public KGpgTransaction {
25  Q_OBJECT
26 
27  Q_DISABLE_COPY(KGpgChangePass)
28 public:
29  KGpgChangePass(QObject *parent, const QString &keyid);
30  virtual ~KGpgChangePass();
31 
32 protected:
33  virtual bool nextLine(const QString &line);
34  virtual bool preStart();
35  virtual bool passphraseRequested();
36  virtual bool passphraseReceived();
37 
38 private:
39  bool m_seenold;
40 };
41 
42 #endif // KGPGCHANGEPASS_H
KGpgChangePass::~KGpgChangePass
virtual ~KGpgChangePass()
Definition: kgpgchangepass.cpp:29
KGpgChangePass::nextLine
virtual bool nextLine(const QString &line)
Called for every line the gpg process writes.
Definition: kgpgchangepass.cpp:42
kgpgtransaction.h
KGpgChangePass::passphraseReceived
virtual bool passphraseReceived()
called when GnuPG accepted the passphrase
Definition: kgpgchangepass.cpp:78
KGpgChangePass
set a new passphrase for a key pair
Definition: kgpgchangepass.h:24
KGpgChangePass::KGpgChangePass
KGpgChangePass(QObject *parent, const QString &keyid)
Definition: kgpgchangepass.cpp:18
KGpgChangePass::preStart
virtual bool preStart()
Called before the gpg process is started.
Definition: kgpgchangepass.cpp:34
QObject
QString
KGpgChangePass::passphraseRequested
virtual bool passphraseRequested()
called when GnuPG asks for a passphrase
Definition: kgpgchangepass.cpp:64
KGpgTransaction
Process one GnuPG operation.
Definition: kgpgtransaction.h:44
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