KCalCore Library
person.cpp
Go to the documentation of this file.
void setEmail(const QString &email)
Sets the email address for this person to email.
Definition: person.cpp:145
This file is part of the API for handling calendar data and defines the Person class.
bool operator!=(const Person &person) const
Compares this with person for non-equality.
Definition: person.cpp:84
bool operator==(const Person &person) const
Compares this with person for equality.
Definition: person.cpp:77
bool isEmpty() const
Returns true if the person name and email address are empty.
Definition: person.cpp:135
int count() const
Returns the number of references or zero if it is not initialized.
Definition: person.cpp:166
static Person::Ptr fromFullName(const QString &fullName)
Constructs a person with name and email address taken from fullName.
Definition: person.cpp:392
KCALCORE_EXPORT QDataStream & operator<<(QDataStream &stream, const KCalCore::Attendee::Ptr &attendee)
Serializes an Attendee object into a data stream.
Definition: attendee.cpp:183
uint qHash(const KCalCore::Period &key)
Return a hash value for a Period argument.
Definition: period.cpp:169
static bool isValidEmail(const QString &email)
Returns true if person's email address is valid.
Definition: person.cpp:155
KCALCORE_EXPORT QDataStream & operator>>(QDataStream &stream, KCalCore::Attendee::Ptr &attendee)
Initializes an Attendee object from a data stream.
Definition: attendee.cpp:196
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Sat Feb 25 2017 07:46:10 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2017 The KDE developers.
Generated on Sat Feb 25 2017 07:46:10 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.