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 Q_REQUIRED_RESULT
bool operator==(
const Email &other)
const;
97 Q_REQUIRED_RESULT
bool operator!=(
const Email &other)
const;
101 Q_REQUIRED_RESULT
QString toString()
const;
104 void setParams(
const ParameterMap ¶ms);
105 Q_REQUIRED_RESULT ParameterMap params()
const;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:10 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.