kabc
Public Types |
Public Member Functions |
Static Public Member Functions |
Friends |
List of all members
KABC::Key Class Reference
#include <key.h>
Public Types | |
typedef QList< Key > | List |
enum | Type { X509, PGP, Custom } |
typedef QList< Type > | TypeList |
Public Member Functions | |
Key (const QString &text=QString(), Type type=PGP) | |
Key (const Key &other) | |
~Key () | |
QByteArray | binaryData () const |
QString | customTypeString () const |
QString | id () const |
bool | isBinary () const |
bool | operator!= (const Key &) const |
Key & | operator= (const Key &other) |
bool | operator== (const Key &) const |
void | setBinaryData (const QByteArray &data) |
void | setCustomTypeString (const QString &type) |
void | setId (const QString &identifier) |
void | setTextData (const QString &data) |
void | setType (Type type) |
QString | textData () const |
QString | toString () const |
Type | type () const |
Static Public Member Functions | |
static QString | typeLabel (Type type) |
static TypeList | typeList () |
Friends | |
QDataStream & | operator<< (QDataStream &, const Key &) |
QDataStream & | operator>> (QDataStream &, Key &) |
Detailed Description
Member Typedef Documentation
typedef QList<Key> KABC::Key::List |
typedef QList<Type> KABC::Key::TypeList |
Member Enumeration Documentation
enum KABC::Key::Type |
Constructor & Destructor Documentation
Member Function Documentation
QByteArray Key::binaryData | ( | ) | const |
QString Key::customTypeString | ( | ) | const |
bool Key::isBinary | ( | ) | const |
bool Key::operator!= | ( | const Key & | other | ) | const |
bool Key::operator== | ( | const Key & | other | ) | const |
void Key::setBinaryData | ( | const QByteArray & | data | ) |
void Key::setCustomTypeString | ( | const QString & | type | ) |
void Key::setId | ( | const QString & | identifier | ) |
void Key::setTextData | ( | const QString & | data | ) |
void Key::setType | ( | Type | type | ) |
QString Key::toString | ( | ) | const |
|
static |
Friends And Related Function Documentation
|
friend |
Serializes the key
object into the stream
.
|
friend |
Initializes the key
object from the stream
.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.