kgpg
KGpgKeyNode.cpp
Go to the documentation of this file.
QObject * child(const char *objName, const char *inheritsClass, bool recursiveSearch) const
const KGpgSignableNode * getUid(const unsigned int index) const
get the user id or user attribute with the given number
Definition: KGpgKeyNode.cpp:312
Definition: kgpgkey.h:72
const KgpgCore::KgpgKey * getKey() const
Returns a reference to the key used in this object.
Definition: KGpgKeyNode.cpp:193
virtual QString getSignCount() const
Return the number of signatures of the primary user id.
Definition: KGpgKeyNode.cpp:166
const QObjectList & children() const
Definition: kgpgkey.h:236
void expanded()
int indexOf(const T &value, int from) const
virtual KgpgCore::KgpgItemType getType() const =0
Returns the item type of this object.
QString number(int n, int base)
void append(const T &value)
QString & insert(int position, QChar ch)
void readSignatures(KGpgKeyNode *node)
Definition: kgpginterface.cpp:305
bool canEncrypt() const
return if this key can be used for encryption
Definition: KGpgKeyNode.cpp:355
bool isEmpty() const
Class for child objects that are only a reference to a primary key.
Definition: KGpgRefNode.h:39
virtual KGpgGroupNode * getParentKeyNode() const
Definition: KGpgGroupMemberNode.cpp:97
QString right(int n) const
virtual unsigned int getEncryptionKeySize() const
Returns the size of the first encryption subkey.
Definition: KGpgKeyNode.cpp:205
The abstract base class for all classes representing keyring data.
Definition: KGpgNode.h:42
virtual unsigned int getSignKeySize() const
Returns the size of the signing key.
Definition: KGpgKeyNode.cpp:199
virtual QString getSize() const
Returns a string describing the size of this object.
Definition: KGpgKeyNode.cpp:81
void addRef(KGpgRefNode *node)
Notify this key that a KGpgRefNode now references this key.
Definition: KGpgKeyNode.cpp:211
virtual KGpgKeyNode * getKeyNode(void)
returns the key node this node belongs to
Definition: KGpgKeyNode.cpp:119
KGpgKeyNode(KGpgRootNode *parent, const KgpgCore::KgpgKey &k)
Definition: KGpgKeyNode.cpp:33
virtual bool wasExpanded() const
check if there are any child nodes present in memory
Definition: KGpgExpandableNode.cpp:64
virtual KgpgCore::KgpgItemType getType() const
Returns the item type of this object.
Definition: KGpgKeyNode.cpp:48
KGpgSignNode::List getSignatures(void) const
Definition: KGpgSignableNode.cpp:33
int length() const
virtual KgpgCore::KgpgKey * copyKey() const
Creates a copy of the KgpgKey that belongs to this class.
Definition: KGpgKeyNode.cpp:174
QList< KGpgGroupMemberNode * > getGroupRefs(void) const
returns a list of all group member nodes that reference this key
Definition: KGpgKeyNode.cpp:250
bool compareId(const QString &other) const
compare the id of this node to the given other node
Definition: KGpgKeyNode.cpp:339
void setKey(const KgpgCore::KgpgKey &key)
Replaces the current key information with the new one.
Definition: KGpgKeyNode.cpp:180
int compare(const QString &other) const
QString getBeautifiedFingerprint() const
Print the full key fingerprint with spaces inserted.
Definition: KGpgKeyNode.cpp:137
QList< KGpgGroupNode * > getGroups(void) const
returns a list of all groups this key is member of
Definition: KGpgKeyNode.cpp:226
bool removeOne(const T &value)
KGpgSignNode::List getSignRefs(void) const
returns a list of all sign nodes that reference this key
Definition: KGpgKeyNode.cpp:261
virtual void readChildren()
reimplemented in every base class to read in the child data
Definition: KGpgKeyNode.cpp:155
QList< KGpgRefNode * > getRefsOfType(const KgpgCore::KgpgItemType &type) const
Definition: KGpgKeyNode.cpp:237
This file is part of the KDE documentation.
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
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.