libkpgp
Kpgp::UserID Class Reference
#include <kpgpkey.h>
List of all members.
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
Kpgp::UserID::UserID |
( |
const QString & |
str, |
|
|
const Validity |
validity = KPGP_VALIDITY_UNKNOWN , |
|
|
const bool |
revoked = false , |
|
|
const bool |
invalid = false | |
|
) |
| | |
Constructs a new user id with the given values.
Definition at line 50 of file kpgpkey.cpp.
Member Function Documentation
QString Kpgp::UserID::text |
( |
|
) |
const [inline] |
Returns the text of the user id.
Definition at line 119 of file kpgpkey.h.
bool Kpgp::UserID::revoked |
( |
|
) |
const [inline] |
Returns true if the user id has been revoked.
Definition at line 124 of file kpgpkey.h.
bool Kpgp::UserID::invalid |
( |
|
) |
const [inline] |
Returns true if the user id is invalid.
Definition at line 129 of file kpgpkey.h.
Validity Kpgp::UserID::validity |
( |
|
) |
const [inline] |
Returns the validity of resp.
the trust in the user id.
Definition at line 134 of file kpgpkey.h.
void Kpgp::UserID::setText |
( |
const QString & |
str |
) |
[inline] |
Sets the text of the user id to str.
Definition at line 139 of file kpgpkey.h.
void Kpgp::UserID::setRevoked |
( |
const bool |
revoked |
) |
[inline] |
Sets the flag if the user id has been revoked to revoked.
Definition at line 144 of file kpgpkey.h.
void Kpgp::UserID::setInvalid |
( |
const bool |
invalid |
) |
[inline] |
Sets the flag if the user id is invalid to invalid.
Definition at line 149 of file kpgpkey.h.
void Kpgp::UserID::setValidity |
( |
const Validity |
validity |
) |
[inline] |
Sets the validity of resp.
the trust in the user id to validity.
Definition at line 154 of file kpgpkey.h.
The documentation for this class was generated from the following files: