• 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
  • core
KGpgSignableNode.h
Go to the documentation of this file.
1 /* Copyright 2008,2009,2012 Rolf Eike Beer <kde@opensource.sf-tec.de>
2  *
3  * This program is free software; you can redistribute it and/or
4  * modify it under the terms of the GNU General Public License as
5  * published by the Free Software Foundation; either version 2 of
6  * the License or (at your option) version 3 or any later version
7  * accepted by the membership of KDE e.V. (or its successor approved
8  * by the membership of KDE e.V.), which shall act as a proxy
9  * defined in Section 14 of version 3 of the license.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 #ifndef KGPGSIGNABLENODE_H
20 #define KGPGSIGNABLENODE_H
21 
22 #include "KGpgExpandableNode.h"
23 #include "KGpgSignNode.h"
24 
31 class KGpgSignableNode : public KGpgExpandableNode
32 {
33  Q_OBJECT
34 
35 public:
36  typedef QList<KGpgSignableNode *> List;
37  typedef QList<const KGpgSignableNode *> const_List;
38 
39  explicit KGpgSignableNode(KGpgExpandableNode *parent = NULL);
40  virtual ~KGpgSignableNode();
41 
42  KGpgSignNode::List getSignatures(void) const;
49  virtual QString getSignCount() const;
50 
51  bool operator<(const KGpgSignableNode &other) const;
52  bool operator<(const KGpgSignableNode *other) const;
53 
58  virtual KGpgKeyNode *getKeyNode(void) = 0;
59  virtual const KGpgKeyNode *getKeyNode(void) const = 0;
60 };
61 
62 #endif /* KGPGSIGNABLENODE_H */
KGpgSignNode.h
KGpgSignableNode::KGpgSignableNode
KGpgSignableNode(KGpgExpandableNode *parent=NULL)
Definition: KGpgSignableNode.cpp:23
KGpgSignableNode::const_List
QList< const KGpgSignableNode * > const_List
Definition: KGpgSignableNode.h:37
KGpgKeyNode
A public key with or without corresponding secret key.
Definition: KGpgKeyNode.h:33
KGpgSignableNode::getKeyNode
virtual KGpgKeyNode * getKeyNode(void)=0
returns the key node this node belongs to
QString
QList< KGpgSignableNode * >
KGpgExpandableNode.h
KGpgSignableNode::List
QList< KGpgSignableNode * > List
Definition: KGpgSignableNode.h:36
KGpgExpandableNode
The abstract base class for all classes that may have child objects.
Definition: KGpgExpandableNode.h:34
KGpgSignableNode::~KGpgSignableNode
virtual ~KGpgSignableNode()
Definition: KGpgSignableNode.cpp:28
KGpgSignableNode::getSignatures
KGpgSignNode::List getSignatures(void) const
Definition: KGpgSignableNode.cpp:33
KGpgSignableNode::getSignCount
virtual QString getSignCount() const
count signatures
Definition: KGpgSignableNode.cpp:46
QObject::parent
QObject * parent() const
KGpgSignableNode::operator<
bool operator<(const KGpgSignableNode &other) const
Definition: KGpgSignableNode.cpp:52
KGpgSignableNode
An object that may have KGpgSignNode children.
Definition: KGpgSignableNode.h:31
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