• 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
kgpgchangedisable.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 KGPGCHANGEDISABLE_H
15 #define KGPGCHANGEDISABLE_H
16 
17 #include <QObject>
18 
19 #include "kgpgeditkeytransaction.h"
20 
24 class KGpgChangeDisable: public KGpgEditKeyTransaction {
25  Q_OBJECT
26 
27  Q_DISABLE_COPY(KGpgChangeDisable)
28 public:
29  KGpgChangeDisable(QObject *parent, const QString &keyid, const bool disable);
30  virtual ~KGpgChangeDisable();
31 
32  void setDisable(bool disable);
33 
34 protected:
35  virtual bool preStart();
36  virtual bool nextLine(const QString &line);
37 };
38 
39 #endif // KGPGCHANGEDISABLE_H
KGpgChangeDisable::nextLine
virtual bool nextLine(const QString &line)
handle standard GnuPG prompts
Definition: kgpgchangedisable.cpp:50
KGpgEditKeyTransaction
edit a single property of a key
Definition: kgpgeditkeytransaction.h:24
KGpgChangeDisable::KGpgChangeDisable
KGpgChangeDisable(QObject *parent, const QString &keyid, const bool disable)
Definition: kgpgchangedisable.cpp:16
QObject
QString
KGpgChangeDisable::setDisable
void setDisable(bool disable)
Definition: kgpgchangedisable.cpp:27
KGpgChangeDisable::preStart
virtual bool preStart()
reset class before next operation starts
Definition: kgpgchangedisable.cpp:39
kgpgeditkeytransaction.h
KGpgChangeDisable
enable of disable a key
Definition: kgpgchangedisable.h:24
QObject::parent
QObject * parent() const
KGpgChangeDisable::~KGpgChangeDisable
virtual ~KGpgChangeDisable()
Definition: kgpgchangedisable.cpp:22
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