KDE PIM / Developers / API Docs / libkpgp

Kpgp::UserID Class Reference

This class is used to store information about a user id of a PGP key. More...

#include <kpgpkey.h>

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

This class is used to store information about a user id of a PGP key.


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.


Member Function Documentation

QString Kpgp::UserID::text  )  const [inline]
 

Returns the text of the user id.

bool Kpgp::UserID::revoked  )  const [inline]
 

Returns true if the user id has been revoked.

bool Kpgp::UserID::invalid  )  const [inline]
 

Returns true if the user id is invalid.

Validity Kpgp::UserID::validity  )  const [inline]
 

Returns the validity of resp.

the trust in the user id.

void Kpgp::UserID::setText const QString &  str  )  [inline]
 

Sets the text of the user id to str.

void Kpgp::UserID::setRevoked const bool  revoked  )  [inline]
 

Sets the flag if the user id has been revoked to revoked.

void Kpgp::UserID::setInvalid const bool  invalid  )  [inline]
 

Sets the flag if the user id is invalid to invalid.

void Kpgp::UserID::setValidity const Validity  validity  )  [inline]
 

Sets the validity of resp.

the trust in the user id to validity.


The documentation for this class was generated from the following files: