libkpgp
Kpgp::UserID Class Reference
#include <kpgpkey.h>
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.
Public Member Functions | |
| UserID (const QString &str, const Validity validity=KPGP_VALIDITY_UNKNOWN, const bool revoked=false, const bool invalid=false) | |
| ~UserID () | |
| 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 |
Constructor & Destructor Documentation
|
||||||||||||||||||||
|
Constructs a new user id with the given values.
Definition at line 50 of file kpgpkey.cpp. |
Member Function Documentation
|
|
Returns true if the user id is invalid.
|
|
|
Returns true if the user id has been revoked.
|
|
|
Sets the flag if the user id is invalid to invalid.
|
|
|
Sets the flag if the user id has been revoked to revoked.
|
|
|
Sets the text of the user id to str.
|
|
|
Sets the validity of resp. the trust in the user id to validity. |
|
|
Returns the text of the user id.
|
|
|
Returns the validity of resp. the trust in the user id. |
The documentation for this class was generated from the following files:

