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
◆ List
typedef QList<Key> KABC::Key::List |
◆ TypeList
typedef QList<Type> KABC::Key::TypeList |
Member Enumeration Documentation
◆ Type
enum KABC::Key::Type |
Constructor & Destructor Documentation
◆ Key() [1/2]
◆ Key() [2/2]
◆ ~Key()
Member Function Documentation
◆ binaryData()
QByteArray Key::binaryData | ( | ) | const |
◆ customTypeString()
QString Key::customTypeString | ( | ) | const |
◆ id()
◆ isBinary()
bool Key::isBinary | ( | ) | const |
◆ operator!=()
bool Key::operator!= | ( | const Key & | other | ) | const |
◆ operator=()
◆ operator==()
bool Key::operator== | ( | const Key & | other | ) | const |
◆ setBinaryData()
void Key::setBinaryData | ( | const QByteArray & | data | ) |
◆ setCustomTypeString()
void Key::setCustomTypeString | ( | const QString & | type | ) |
◆ setId()
void Key::setId | ( | const QString & | identifier | ) |
◆ setTextData()
void Key::setTextData | ( | const QString & | data | ) |
◆ setType()
void Key::setType | ( | Type | type | ) |
◆ textData()
◆ toString()
QString Key::toString | ( | ) | const |
◆ type()
◆ typeLabel()
|
static |
◆ typeList()
|
static |
Friends And Related Function Documentation
◆ operator<<
|
friend |
Serializes the key
object into the stream
.
◆ operator>>
|
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-2017 The KDE developers.
Generated on Thu Mar 9 2017 14:24:28 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2017 The KDE developers.
Generated on Thu Mar 9 2017 14:24:28 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.