KABC::Key Class Reference
#include <key.h>
Public Types | |
enum | Types { X509, PGP, Custom } |
typedef QValueList< Key > | List |
typedef QValueList< int > | TypeList |
Public Member Functions | |
Key (const QString &text=QString::null, int type=PGP) | |
~Key () | |
bool | operator== (const Key &) const |
bool | operator!= (const Key &) const |
void | setId (const QString &id) |
QString | id () const |
void | setBinaryData (const QByteArray &binary) |
QByteArray | binaryData () const |
void | setTextData (const QString &text) |
QString | textData () const |
bool | isBinary () const |
void | setType (int type) |
void | setCustomTypeString (const QString &custom) |
int | type () const |
QString | customTypeString () const |
Static Public Member Functions | |
static TypeList | typeList () |
static QString | typeLabel (int type) |
Friends | |
KABC_EXPORT QDataStream & | operator<< (QDataStream &, const Key &) |
KABC_EXPORT QDataStream & | operator>> (QDataStream &, Key &) |
Detailed Description
Member Enumeration Documentation
enum KABC::Key::Types |
Constructor & Destructor Documentation
Member Function Documentation
QByteArray Key::binaryData | ( | ) | const |
QString Key::customTypeString | ( | ) | const |
bool Key::isBinary | ( | ) | const |
void Key::setBinaryData | ( | const QByteArray & | binary | ) |
void Key::setCustomTypeString | ( | const QString & | custom | ) |
void Key::setId | ( | const QString & | id | ) |
void Key::setTextData | ( | const QString & | text | ) |
void Key::setType | ( | int | type | ) |
QString Key::textData | ( | ) | const |
QString Key::typeLabel | ( | int | type | ) | [static] |
Key::TypeList Key::typeList | ( | ) | [static] |
The documentation for this class was generated from the following files: