• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

kgpg

Public Member Functions | Protected Member Functions | List of all members
KGpgSubkeyNode Class Reference

#include <KGpgSubkeyNode.h>

Inheritance diagram for KGpgSubkeyNode:
Inheritance graph
[legend]

Public Member Functions

 KGpgSubkeyNode (KGpgKeyNode *parent, const KgpgCore::KgpgKeySub &k)
 
virtual ~KGpgSubkeyNode ()
 
virtual QDateTime getCreation () const
 
virtual QDateTime getExpiration () const
 
virtual QString getId () const
 
virtual KGpgKeyNode * getKeyNode (void)
 
virtual const KGpgKeyNode * getKeyNode (void) const
 
virtual QString getName () const
 
virtual KGpgKeyNode * getParentKeyNode () const
 
virtual QString getSize () const
 
virtual KgpgCore::KgpgKeyTrust getTrust () const
 
virtual KgpgCore::KgpgItemType getType () const
 
- Public Member Functions inherited from KGpgSignableNode
 KGpgSignableNode (KGpgExpandableNode *parent=NULL)
 
virtual ~KGpgSignableNode ()
 
KGpgSignNode::List getSignatures (void) const
 
virtual QString getSignCount () const
 
bool operator< (const KGpgSignableNode &other) const
 
bool operator< (const KGpgSignableNode *other) const
 
- Public Member Functions inherited from KGpgExpandableNode
virtual ~KGpgExpandableNode ()
 
virtual void deleteChild (KGpgNode *child)
 
virtual KGpgNode * getChild (const int index) const
 
virtual int getChildCount ()
 
virtual int getChildIndex (KGpgNode *node) const
 
virtual const KGpgNode::List & getChildren () const
 
virtual bool hasChildren () const
 
virtual bool wasExpanded () const
 
- Public Member Functions inherited from KGpgNode
virtual ~KGpgNode ()
 
virtual QString getComment () const
 
virtual QString getEmail () const
 
virtual QString getNameComment () const
 
KGpgExpandableNode * getParentKeyNode () const
 
KGpgExpandableNode * toExpandableNode ()
 
const KGpgExpandableNode * toExpandableNode () const
 
KGpgGroupMemberNode * toGroupMemberNode ()
 
const KGpgGroupMemberNode * toGroupMemberNode () const
 
KGpgGroupNode * toGroupNode ()
 
const KGpgGroupNode * toGroupNode () const
 
KGpgKeyNode * toKeyNode ()
 
const KGpgKeyNode * toKeyNode () const
 
KGpgOrphanNode * toOrphanNode ()
 
const KGpgOrphanNode * toOrphanNode () const
 
KGpgRefNode * toRefNode ()
 
const KGpgRefNode * toRefNode () const
 
KGpgRootNode * toRootNode ()
 
const KGpgRootNode * toRootNode () const
 
KGpgSignableNode * toSignableNode ()
 
const KGpgSignableNode * toSignableNode () const
 
KGpgSignNode * toSignNode ()
 
const KGpgSignNode * toSignNode () const
 
KGpgSubkeyNode * toSubkeyNode ()
 
const KGpgSubkeyNode * toSubkeyNode () const
 
KGpgUatNode * toUatNode ()
 
const KGpgUatNode * toUatNode () const
 
KGpgUidNode * toUidNode ()
 
const KGpgUidNode * toUidNode () const
 

Protected Member Functions

virtual void readChildren ()
 
- Protected Member Functions inherited from KGpgExpandableNode
 KGpgExpandableNode (KGpgExpandableNode *parent=NULL)
 
- Protected Member Functions inherited from KGpgNode
 KGpgNode (KGpgExpandableNode *parent)
 

Additional Inherited Members

- Public Types inherited from KGpgSignableNode
typedef QList< const
KGpgSignableNode * > 
const_List
 
typedef QList< KGpgSignableNode * > List
 
- Public Types inherited from KGpgNode
typedef QList< KGpgNode * > List
 
- Protected Attributes inherited from KGpgExpandableNode
KGpgNode::List children
 
- Protected Attributes inherited from KGpgNode
KGpgItemModel * m_model
 
KGpgExpandableNode * m_parent
 

Detailed Description

a subkey of a public key or key pair

Definition at line 31 of file KGpgSubkeyNode.h.

Constructor & Destructor Documentation

KGpgSubkeyNode::KGpgSubkeyNode ( KGpgKeyNode *  parent,
const KgpgCore::KgpgKeySub &  k 
)
explicit

Definition at line 26 of file KGpgSubkeyNode.cpp.

KGpgSubkeyNode::~KGpgSubkeyNode ( )
virtual

Definition at line 32 of file KGpgSubkeyNode.cpp.

Member Function Documentation

QDateTime KGpgSubkeyNode::getCreation ( ) const
virtual

Reimplemented from KGpgNode.

Definition at line 60 of file KGpgSubkeyNode.cpp.

QDateTime KGpgSubkeyNode::getExpiration ( ) const
virtual

Reimplemented from KGpgNode.

Definition at line 54 of file KGpgSubkeyNode.cpp.

QString KGpgSubkeyNode::getId ( ) const
virtual

Reimplemented from KGpgNode.

Definition at line 66 of file KGpgSubkeyNode.cpp.

KGpgKeyNode * KGpgSubkeyNode::getKeyNode ( void  )
virtual

returns the key node this node belongs to

Returns
this node if the node itself is a key or it's parent otherwise

Implements KGpgSignableNode.

Definition at line 72 of file KGpgSubkeyNode.cpp.

const KGpgKeyNode * KGpgSubkeyNode::getKeyNode ( void  ) const
virtual

Implements KGpgSignableNode.

Definition at line 78 of file KGpgSubkeyNode.cpp.

QString KGpgSubkeyNode::getName ( ) const
virtual

Reimplemented from KGpgNode.

Definition at line 84 of file KGpgSubkeyNode.cpp.

KGpgKeyNode * KGpgSubkeyNode::getParentKeyNode ( ) const
virtual

Definition at line 96 of file KGpgSubkeyNode.cpp.

QString KGpgSubkeyNode::getSize ( ) const
virtual

Returns a string describing the size of this object.

Subclasses may return a value that makes sense for whatever object they represent.

The default implementation returns an empty string.

Reimplemented from KGpgNode.

Definition at line 90 of file KGpgSubkeyNode.cpp.

KgpgCore::KgpgKeyTrust KGpgSubkeyNode::getTrust ( ) const
virtual

Reimplemented from KGpgNode.

Definition at line 48 of file KGpgSubkeyNode.cpp.

KgpgCore::KgpgItemType KGpgSubkeyNode::getType ( ) const
virtual

Returns the item type of this object.

Since every subclass returns a distinct value you can use the result of this function to decide which cast to take. Note that there are subclasses (KGpgKeyNode, KGpgGroupMemberNode) that can return two different values.

Implements KGpgNode.

Definition at line 42 of file KGpgSubkeyNode.cpp.

void KGpgSubkeyNode::readChildren ( )
protectedvirtual

reimplemented in every base class to read in the child data

This allows the child objects to delay the loading of the child objects until they are really needed to avoid time consuming operations for data never used.

Implements KGpgExpandableNode.

Definition at line 37 of file KGpgSubkeyNode.cpp.


The documentation for this class was generated from the following files:
  • KGpgSubkeyNode.h
  • KGpgSubkeyNode.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:52 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
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • 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