kgpg
#include <KGpgRefNode.h>
Public Member Functions | |
virtual | ~KGpgRefNode () |
virtual QString | getEmail () const |
virtual QString | getId () const |
virtual QString | getName () const |
virtual KGpgKeyNode * | getRefNode () const |
bool | isUnknown () const |
void | unRef (KGpgRootNode *root) |
Public Member Functions inherited from KGpgNode | |
virtual | ~KGpgNode () |
virtual KGpgNode * | getChild (const int index) const |
virtual int | getChildCount () |
virtual int | getChildIndex (KGpgNode *node) const |
virtual QString | getComment () const |
virtual QDateTime | getCreation () const |
virtual QDateTime | getExpiration () const |
virtual QString | getNameComment () const |
KGpgExpandableNode * | getParentKeyNode () const |
virtual QString | getSize () const |
virtual KgpgCore::KgpgKeyTrust | getTrust () const |
virtual KgpgCore::KgpgItemType | getType () const =0 |
virtual bool | hasChildren () 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 |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Protected Member Functions | |
KGpgRefNode (KGpgExpandableNode *parent, KGpgKeyNode *key) | |
KGpgRefNode (KGpgExpandableNode *parent, const QString &keyid) | |
KGpgRootNode * | getRootNode () const |
Protected Member Functions inherited from KGpgNode | |
KGpgNode (KGpgExpandableNode *parent) | |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Protected Attributes | |
KGpgKeyNode * | m_keynode |
Protected Attributes inherited from KGpgNode | |
KGpgItemModel * | m_model |
KGpgExpandableNode * | m_parent |
Additional Inherited Members | |
Public Types inherited from KGpgNode | |
typedef QList< KGpgNode * > | List |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
objectName | |
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 39 of file KGpgRefNode.h.
Constructor & Destructor Documentation
|
explicitprotected |
Definition at line 60 of file KGpgRefNode.cpp.
|
explicitprotected |
Definition at line 26 of file KGpgRefNode.cpp.
|
virtual |
Definition at line 72 of file KGpgRefNode.cpp.
Member Function Documentation
|
virtual |
Reimplemented from KGpgNode.
Definition at line 132 of file KGpgRefNode.cpp.
|
virtual |
Reimplemented from KGpgNode.
Definition at line 115 of file KGpgRefNode.cpp.
|
virtual |
Reimplemented from KGpgNode.
Reimplemented in KGpgSignNode.
Definition at line 124 of file KGpgRefNode.cpp.
|
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 146 of file KGpgRefNode.cpp.
|
protected |
Definition at line 79 of file KGpgRefNode.cpp.
bool KGpgRefNode::isUnknown | ( | ) | const |
Check if the referenced key exists.
- Returns
- if getRefNode() will return NULL or not
Definition at line 140 of file KGpgRefNode.cpp.
void KGpgRefNode::unRef | ( | KGpgRootNode * | root | ) |
Break the current reference.
- Parameters
-
root root node
This is called when the referenced node is going away.
The root node is passed for two reasons:
- it doesn't need to be searched again for every ref node which can be many in case of an important key node get's deleted
- the ref node may be a child of the deleted node, then we can not call the parents functions to find the root anymore. This helps simplifying the code
Definition at line 106 of file KGpgRefNode.cpp.
Member Data Documentation
|
protected |
Definition at line 48 of file KGpgRefNode.h.
The documentation for this class was generated from the following files:
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.