KContacts
8 #ifndef KCONTACTS_KEY_H 9 #define KCONTACTS_KEY_H 11 #include "kcontacts_export.h" 13 #include <QDataStream> 14 #include <QSharedDataPointer> 20 class KCONTACTS_EXPORT
Key 66 Q_REQUIRED_RESULT
bool operator==(
const Key &other)
const;
71 Q_REQUIRED_RESULT
bool operator!=(
const Key &other)
const;
78 Key &operator=(
const Key &other);
83 void setId(
const QString &identifier);
88 Q_REQUIRED_RESULT
QString id()
const;
98 Q_REQUIRED_RESULT
QByteArray binaryData()
const;
103 void setTextData(
const QString &data);
108 Q_REQUIRED_RESULT
QString textData()
const;
113 Q_REQUIRED_RESULT
bool isBinary()
const;
122 void setType(
Type type);
127 void setCustomTypeString(
const QString &type);
132 Q_REQUIRED_RESULT
Type type()
const;
137 Q_REQUIRED_RESULT
QString customTypeString()
const;
142 Q_REQUIRED_RESULT
QString toString()
const;
147 Q_REQUIRED_RESULT
static TypeList typeList();
152 Q_REQUIRED_RESULT
static QString typeLabel(
Type type);
QDataStream & operator>>(QDataStream &in, KDateTime::Spec &spec)
QDataStream & operator<<(QDataStream &out, const KDateTime::Spec &spec)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:00:22 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.