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

#include <KGpgUatNode.h>

Inheritance diagram for KGpgUatNode:
Inheritance graph
[legend]

Public Member Functions

 KGpgUatNode (KGpgKeyNode *parent, const unsigned int index, const QStringList &sl)
 
virtual ~KGpgUatNode ()
 
virtual QDateTime getCreation () const
 
virtual QString getId () const
 
virtual KGpgKeyNode * getKeyNode (void)
 
virtual const KGpgKeyNode * getKeyNode (void) const
 
virtual QString getName () const
 
virtual KGpgKeyNode * getParentKeyNode () const
 
const QPixmap & getPixmap () 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 QDateTime getExpiration () 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 user attribute (i.e.

photo id) of a public key or key pair

Definition at line 36 of file KGpgUatNode.h.

Constructor & Destructor Documentation

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

Definition at line 91 of file KGpgUatNode.cpp.

KGpgUatNode::~KGpgUatNode ( )
virtual

Definition at line 97 of file KGpgUatNode.cpp.

Member Function Documentation

QDateTime KGpgUatNode::getCreation ( ) const
virtual

Reimplemented from KGpgNode.

Definition at line 117 of file KGpgUatNode.cpp.

QString KGpgUatNode::getId ( ) const
virtual

Reimplemented from KGpgNode.

Definition at line 156 of file KGpgUatNode.cpp.

KGpgKeyNode * KGpgUatNode::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 164 of file KGpgUatNode.cpp.

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

Implements KGpgSignableNode.

Definition at line 170 of file KGpgUatNode.cpp.

QString KGpgUatNode::getName ( ) const
virtual

Reimplemented from KGpgNode.

Definition at line 103 of file KGpgUatNode.cpp.

KGpgKeyNode * KGpgUatNode::getParentKeyNode ( ) const
virtual

Definition at line 125 of file KGpgUatNode.cpp.

const QPixmap & KGpgUatNode::getPixmap ( ) const

Definition at line 148 of file KGpgUatNode.cpp.

QString KGpgUatNode::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 109 of file KGpgUatNode.cpp.

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

Reimplemented from KGpgNode.

Definition at line 142 of file KGpgUatNode.cpp.

KgpgCore::KgpgItemType KGpgUatNode::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 136 of file KGpgUatNode.cpp.

void KGpgUatNode::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 131 of file KGpgUatNode.cpp.


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