KABC::Key Class Reference
#include <key.h>
Detailed Description
A class to store an encryption key.
Definition at line 33 of file key.h.
Public Types | |
| enum | Types { X509, PGP, Custom, Home = 1, Work = 2, Msg = 4, Pref = 8, Voice = 16, Fax = 32, Cell = 64, Video = 128, Bbs = 256, Modem = 512, Car = 1024, Isdn = 2048, Pcs = 4096, Pager = 8192, Public, Private, Confidential, Invalid } |
| 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 &) |
Member Enumeration Documentation
| enum KABC::Key::Types |
Constructor & Destructor Documentation
| Key::Key | ( | const QString & | text = QString::null, |
|
| int | type = PGP | |||
| ) |
Member Function Documentation
| void Key::setId | ( | const QString & | id | ) |
| void Key::setBinaryData | ( | const QByteArray & | binary | ) |
| QByteArray Key::binaryData | ( | ) | const |
| void Key::setTextData | ( | const QString & | text | ) |
| bool Key::isBinary | ( | ) | const |
| void Key::setCustomTypeString | ( | const QString & | custom | ) |
| QString Key::customTypeString | ( | ) | const |
| Key::TypeList Key::typeList | ( | ) | [static] |
| QString Key::typeLabel | ( | int | type | ) | [static] |
The documentation for this class was generated from the following files:

