• 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
KGpgUatNode.h
Go to the documentation of this file.
1 /* Copyright 2008,2009,2010 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 KGPGUATNODE_H
20 #define KGPGUATNODE_H
21 
22 #include "KGpgSignableNode.h"
23 
24 #include <QDateTime>
25 #include <QPixmap>
26 
27 class KGpgExpandableNode;
28 class KGpgKeyNode;
29 class QPixmap;
30 
31 class KGpgUatNodePrivate;
32 
36 class KGpgUatNode : public KGpgSignableNode
37 {
38 private:
39  KGpgUatNodePrivate * const d_ptr;
40  Q_DECLARE_PRIVATE(KGpgUatNode)
41 
42 protected:
43  virtual void readChildren();
44 
45 public:
46  explicit KGpgUatNode(KGpgKeyNode *parent, const unsigned int index, const QStringList &sl);
47  virtual ~KGpgUatNode();
48 
49  virtual KgpgCore::KgpgItemType getType() const;
50  virtual KgpgCore::KgpgKeyTrust getTrust() const;
51  const QPixmap &getPixmap() const;
52  virtual QString getId() const;
53  virtual QString getSize() const;
54  virtual QString getName() const;
55  virtual QDateTime getCreation() const;
56  virtual KGpgKeyNode *getParentKeyNode() const;
57  virtual KGpgKeyNode *getKeyNode(void);
58  virtual const KGpgKeyNode *getKeyNode(void) const;
59 };
60 
61 #endif /* KGPGUATNODE_H */
KGpgUatNode::readChildren
virtual void readChildren()
reimplemented in every base class to read in the child data
Definition: KGpgUatNode.cpp:131
KGpgUatNode::getTrust
virtual KgpgCore::KgpgKeyTrust getTrust() const
Definition: KGpgUatNode.cpp:142
KGpgUatNode::getCreation
virtual QDateTime getCreation() const
Definition: KGpgUatNode.cpp:117
KGpgUatNode
A user attribute (i.e.
Definition: KGpgUatNode.h:36
KGpgKeyNode
A public key with or without corresponding secret key.
Definition: KGpgKeyNode.h:33
KGpgUatNode::~KGpgUatNode
virtual ~KGpgUatNode()
Definition: KGpgUatNode.cpp:97
KGpgUatNode::getPixmap
const QPixmap & getPixmap() const
Definition: KGpgUatNode.cpp:148
KGpgUatNode::getKeyNode
virtual KGpgKeyNode * getKeyNode(void)
returns the key node this node belongs to
Definition: KGpgUatNode.cpp:164
KGpgUatNode::getId
virtual QString getId() const
Definition: KGpgUatNode.cpp:156
QString
KGpgUatNode::getType
virtual KgpgCore::KgpgItemType getType() const
Returns the item type of this object.
Definition: KGpgUatNode.cpp:136
KGpgUatNode::getParentKeyNode
virtual KGpgKeyNode * getParentKeyNode() const
Definition: KGpgUatNode.cpp:125
QStringList
QPixmap
KGpgExpandableNode
The abstract base class for all classes that may have child objects.
Definition: KGpgExpandableNode.h:34
KGpgUatNode::getName
virtual QString getName() const
Definition: KGpgUatNode.cpp:103
KGpgUatNode::getSize
virtual QString getSize() const
Returns a string describing the size of this object.
Definition: KGpgUatNode.cpp:109
KGpgSignableNode.h
QObject::parent
QObject * parent() const
KGpgUatNode::KGpgUatNode
KGpgUatNode(KGpgKeyNode *parent, const unsigned int index, const QStringList &sl)
Definition: KGpgUatNode.cpp:91
KGpgSignableNode
An object that may have KGpgSignNode children.
Definition: KGpgSignableNode.h:31
QDateTime
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