libkpgp

#include <kpgpkey.h>

Public Member Functions

 UserID (const TQString &str, const Validity validity=KPGP_VALIDITY_UNKNOWN, const bool revoked=false, const bool invalid=false)
 
TQString text () const
 
bool revoked () const
 
bool invalid () const
 
Validity validity () const
 
void setText (const TQString &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
 
TQString 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

◆ UserID()

Kpgp::UserID::UserID ( const TQString &  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

◆ invalid()

bool Kpgp::UserID::invalid ( ) const
inline

Returns true if the user id is invalid.

Definition at line 129 of file kpgpkey.h.

◆ revoked()

bool Kpgp::UserID::revoked ( ) const
inline

Returns true if the user id has been revoked.

Definition at line 124 of file kpgpkey.h.

◆ setInvalid()

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.

◆ setRevoked()

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.

◆ setText()

void Kpgp::UserID::setText ( const TQString &  str)
inline

Sets the text of the user id to str.

Definition at line 139 of file kpgpkey.h.

◆ setValidity()

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.

◆ text()

TQString Kpgp::UserID::text ( ) const
inline

Returns the text of the user id.

Definition at line 119 of file kpgpkey.h.

◆ validity()

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.


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