#include <key.h>
Public Types | |
| enum | Types |
Public Methods | |
| Key (const QString &text=QString::null, int type=PGP) | |
| ~Key () | |
| 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 Methods | |
| TypeList | typeList () |
| QString | typeLabel (int type) |
Definition at line 31 of file key.h.
|
|
Key types
|
|
||||||||||||
|
Constructor.
|
|
|
Destructor. |
|
|
Returns the binary data. |
|
|
Returns the custom type string. |
|
|
Returns the unique identifier. |
|
|
Returns whether the key contains binary or text data. |
|
|
Sets binary data. |
|
|
Sets custom type string. |
|
|
Sets the unique identifier. |
|
|
Sets text data. |
|
|
Sets the type,
|
|
|
Returns the text data. |
|
|
Returns the type,
|
|
|
Returns a translated label for a given key type. |
|
|
Returns a list of all available key types. |
1.2.18