Kpgp::UserID Class Reference
This class is used to store information about a user id of a PGP key. More...
#include <kpgpkey.h>
Collaboration diagram for Kpgp::UserID:

Public Member Functions | |
UserID (const QString &str, const Validity validity=KPGP_VALIDITY_UNKNOWN, const bool revoked=false, const bool invalid=false) | |
QString | text () const |
bool | revoked () const |
bool | invalid () const |
Validity | validity () const |
void | setText (const QString &str) |
void | setRevoked (const bool revoked) |
void | setInvalid (const bool invalid) |
void | setValidity (const Validity validity) |
Protected Attributes | |
bool | mRevoked: 1 |
bool | mInvalid: 1 |
Validity | mValidity |
QString | mText |
Detailed Description
This class is used to store information about a user id of a PGP key.
Definition at line 74 of file kpgpkey.h.
Constructor & Destructor Documentation
|
Constructs a new user id with the given values.
Definition at line 50 of file kpgpkey.cpp. |
Member Function Documentation
|
Returns the text of the user id.
Definition at line 119 of file kpgpkey.h. Referenced by Kpgp::Key::primaryUserID(). |
|
Returns true if the user id has been revoked.
|
|
Returns true if the user id is invalid.
|
|
Returns the validity of resp. the trust in the user id. |
|
Sets the text of the user id to str.
|
|
Sets the flag if the user id has been revoked to revoked.
|
|
Sets the flag if the user id is invalid to invalid.
|
|
Sets the validity of resp. the trust in the user id to validity. |
The documentation for this class was generated from the following files: