• 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
KGpgUidNode Class Reference

#include <KGpgUidNode.h>

Inheritance diagram for KGpgUidNode:
Inheritance graph
[legend]

Public Member Functions

 KGpgUidNode (KGpgKeyNode *parent, const unsigned int index, const QStringList &sl)
 
virtual ~KGpgUidNode ()
 
virtual QString getComment () const
 
virtual QString getEmail () const
 
virtual QString getId () const
 
virtual KGpgKeyNode * getKeyNode (void)
 
virtual const KGpgKeyNode * getKeyNode (void) const
 
virtual QString getName () const
 
virtual KGpgKeyNode * getParentKeyNode () 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 QDateTime getCreation () const
 
virtual QDateTime getExpiration () const
 
virtual QString getNameComment () const
 
KGpgExpandableNode * getParentKeyNode () const
 
virtual QString getSize () 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 user id of a public key or key pair.

Definition at line 33 of file KGpgUidNode.h.

Constructor & Destructor Documentation

KGpgUidNode::KGpgUidNode ( KGpgKeyNode *  parent,
const unsigned int  index,
const QStringList &  sl 
)
explicit

Definition at line 68 of file KGpgUidNode.cpp.

KGpgUidNode::~KGpgUidNode ( )
virtual

Definition at line 74 of file KGpgUidNode.cpp.

Member Function Documentation

QString KGpgUidNode::getComment ( ) const
virtual

Reimplemented from KGpgNode.

Definition at line 141 of file KGpgUidNode.cpp.

QString KGpgUidNode::getEmail ( ) const
virtual

Reimplemented from KGpgNode.

Definition at line 88 of file KGpgUidNode.cpp.

QString KGpgUidNode::getId ( ) const
virtual

Reimplemented from KGpgNode.

Definition at line 96 of file KGpgUidNode.cpp.

KGpgKeyNode * KGpgUidNode::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 104 of file KGpgUidNode.cpp.

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

Implements KGpgSignableNode.

Definition at line 110 of file KGpgUidNode.cpp.

QString KGpgUidNode::getName ( ) const
virtual

Reimplemented from KGpgNode.

Definition at line 80 of file KGpgUidNode.cpp.

KGpgKeyNode * KGpgUidNode::getParentKeyNode ( ) const
virtual

Definition at line 116 of file KGpgUidNode.cpp.

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

Reimplemented from KGpgNode.

Definition at line 133 of file KGpgUidNode.cpp.

KgpgCore::KgpgItemType KGpgUidNode::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 127 of file KGpgUidNode.cpp.

void KGpgUidNode::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 122 of file KGpgUidNode.cpp.


The documentation for this class was generated from the following files:
  • KGpgUidNode.h
  • KGpgUidNode.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