KContacts
8 #ifndef KCONTACTS_PHONENUMBER_H 9 #define KCONTACTS_PHONENUMBER_H 11 #include "kcontacts_export.h" 15 #include <QSharedDataPointer> 33 Q_PROPERTY(
QString id READ
id WRITE setId)
34 Q_PROPERTY(
QString number READ number WRITE setNumber)
35 Q_PROPERTY(
QString normalizedNumber READ normalizedNumber)
36 Q_PROPERTY(
Type type READ type WRITE setType)
37 Q_PROPERTY(
QString typeLabel READ typeLabel)
38 Q_PROPERTY(
bool isEmpty READ isEmpty)
39 Q_PROPERTY(
bool isPreferred READ isPreferred)
40 Q_PROPERTY(
bool supportsSms READ supportsSms)
116 Q_REQUIRED_RESULT
bool operator==(const
PhoneNumber &other) const;
121 Q_REQUIRED_RESULT
bool operator!=(const
PhoneNumber &other) const;
135 Q_REQUIRED_RESULT
bool isEmpty() const;
140 void setId(const
QString &identifier);
145 Q_REQUIRED_RESULT
QString id() const;
150 void setNumber(const
QString &number);
157 Q_REQUIRED_RESULT
QString number() const;
165 Q_REQUIRED_RESULT
QString normalizedNumber() const;
173 void setType(
Type type);
181 Q_REQUIRED_RESULT
Type type() const;
186 Q_REQUIRED_RESULT
QString typeLabel() const;
191 Q_REQUIRED_RESULT static TypeList typeList();
197 Q_REQUIRED_RESULT
bool isPreferred() const;
202 Q_REQUIRED_RESULT
bool supportsSms() const;
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 Thu Mar 4 2021 22:56:02 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.