KContacts
11 #include "kcontacts_export.h"
15 #include <QSharedDataPointer>
31 friend class VCardTool;
32 friend class ::EmailTest;
35 Q_PROPERTY(
QString email READ mail WRITE setEmail)
36 Q_PROPERTY(
bool isValid READ isValid)
37 Q_PROPERTY(
Type type READ type WRITE setType)
38 Q_PROPERTY(
bool isPreferred READ isPreferred WRITE setPreferred)
69 void setEmail(
const QString &mail);
70 Q_REQUIRED_RESULT
QString mail()
const;
72 Q_REQUIRED_RESULT
bool isValid()
const;
83 void setType(
Type type);
89 bool isPreferred()
const;
94 void setPreferred(
bool preferred);
96 #if KCONTACTS_ENABLE_DEPRECATED_SINCE(5, 88)
100 KCONTACTS_DEPRECATED_VERSION(5, 88,
"For lack of usage.")
104 #if KCONTACTS_ENABLE_DEPRECATED_SINCE(5, 88)
109 KCONTACTS_DEPRECATED_VERSION(5, 88,
"For lack of usage.")
113 Q_REQUIRED_RESULT
bool operator==(
const Email &other)
const;
114 Q_REQUIRED_RESULT
bool operator!=(
const Email &other)
const;
118 Q_REQUIRED_RESULT
QString toString()
const;
121 void setParams(
const ParameterMap ¶ms);
122 Q_REQUIRED_RESULT ParameterMap params()
const;
KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalendarCore::Alarm::Ptr &)
KCALENDARCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalendarCore::Alarm::Ptr &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 03:48:47 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.