kabc
24#include "kabc_export.h"
26#include <QtCore/QDataStream>
27#include <QtCore/QSharedDataPointer>
36 friend KABC_EXPORT QDataStream &
operator<<( QDataStream &,
const Key & );
65 explicit Key(
const QString &text = QString(),
Type type = PGP );
80 bool operator==(
const Key & )
const;
85 bool operator!=(
const Key & )
const;
92 Key &operator=(
const Key &other );
97 void setId(
const QString &identifier );
107 void setBinaryData(
const QByteArray &data );
112 QByteArray binaryData()
const;
117 void setTextData(
const QString &data );
122 QString textData()
const;
127 bool isBinary()
const;
136 void setType(
Type type );
141 void setCustomTypeString(
const QString &type );
151 QString customTypeString()
const;
156 QString toString()
const;
166 static QString typeLabel(
Type type );
170 QSharedDataPointer<Private> d;
176KABC_EXPORT QDataStream &
operator<<( QDataStream &stream,
const Key &key );
181KABC_EXPORT QDataStream &
operator>>( QDataStream &stream,
Key &key );
A class to store an encryption key.
friend QDataStream & operator<<(QDataStream &, const Key &)
Serializes the key object into the stream.
friend QDataStream & operator>>(QDataStream &, Key &)
Initializes the key object from the stream.
@ PGP
Pretty Good Privacy key.
QList< Key > List
List of keys.
QList< Type > TypeList
List of key types.
Class that holds a Calendar Url (FBURL/CALADRURI/CALURI)
QDataStream & operator<<(QDataStream &stream, const Address &address)
Serializes the address object into the stream.
QDataStream & operator>>(QDataStream &stream, Address &address)
Initializes the address object from the stream.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.