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

kgpg

KGpgRefNode Class Reference

#include <kgpgitemnode.h>

Inheritance diagram for KGpgRefNode:

Inheritance graph
[legend]

List of all members.


Detailed Description

class for child objects that are only a reference to a primary key

This is the base class for all type of objects that match these criteria: -they can not have child objects -they are only a reference to a primary key (which needs not to be in the key ring)

Do not create instances from this class. Use KGpgGroupMemberNode and KGpgSignNode as those represent the existing objects. This class exists only to get the hierarchy right.

Definition at line 424 of file kgpgitemnode.h.


Public Member Functions

virtual QString getEmail () const
virtual QString getId () const
virtual QString getName () const
virtual KGpgKeyNode * getRefNode () const
bool isUnknown () const
virtual ~KGpgRefNode ()

Protected Member Functions

 KGpgRefNode (KGpgExpandableNode *parent, const QString &keyid)
 KGpgRefNode (KGpgExpandableNode *parent, KGpgKeyNode *key)

Protected Attributes

KGpgKeyNode * m_keynode

Constructor & Destructor Documentation

KGpgRefNode::KGpgRefNode ( KGpgExpandableNode *  parent,
KGpgKeyNode *  key 
) [explicit, protected]

Definition at line 546 of file kgpgitemnode.cpp.

KGpgRefNode::KGpgRefNode ( KGpgExpandableNode *  parent,
const QString &  keyid 
) [explicit, protected]

Definition at line 527 of file kgpgitemnode.cpp.

virtual KGpgRefNode::~KGpgRefNode (  )  [inline, virtual]

Definition at line 438 of file kgpgitemnode.h.


Member Function Documentation

QString KGpgRefNode::getEmail (  )  const [virtual]

Reimplemented from KGpgNode.

Definition at line 596 of file kgpgitemnode.cpp.

QString KGpgRefNode::getId (  )  const [virtual]

Reimplemented from KGpgNode.

Reimplemented in KGpgSignNode.

Definition at line 579 of file kgpgitemnode.cpp.

QString KGpgRefNode::getName (  )  const [virtual]

Reimplemented from KGpgNode.

Definition at line 588 of file kgpgitemnode.cpp.

virtual KGpgKeyNode* KGpgRefNode::getRefNode (  )  const [inline, virtual]

Get the node of the primary key this node references to.

This will return the key node of the primary key this node references. This may be NULL if the primary key is not in the key ring, e.g. if this is a signature of an unknown key.

Returns:
the node of the primary key or NULL

Definition at line 453 of file kgpgitemnode.h.

bool KGpgRefNode::isUnknown (  )  const

Check if the referenced key exists.

Returns:
if getRefNode() will return NULL or not

Definition at line 604 of file kgpgitemnode.cpp.


Member Data Documentation

KGpgKeyNode* KGpgRefNode::m_keynode [protected]

Definition at line 432 of file kgpgitemnode.h.


The documentation for this class was generated from the following files:
  • kgpgitemnode.h
  • kgpgitemnode.cpp

kgpg

Skip menu "kgpg"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal