KCalCore Library
person.cpp
Go to the documentation of this file.
158 return (pos > 0) && (email.lastIndexOf(QLatin1String(".")) > pos) && ((email.length() - pos) > 4);
static bool isValidEmail(const QString &email)
Returns true if person's email address is valid.
Definition person.cpp:155
bool operator==(const Person &person) const
Compares this with person for equality.
Definition person.cpp:78
void setEmail(const QString &email)
Sets the email address for this person to email.
Definition person.cpp:146
int count() const
Returns the number of references or zero if it is not initialized.
Definition person.cpp:166
bool isEmpty() const
Returns true if the person name and email address are empty.
Definition person.cpp:136
bool operator!=(const Person &person) const
Compares this with person for non-equality.
Definition person.cpp:85
static Person::Ptr fromFullName(const QString &fullName)
Constructs a person with name and email address taken from fullName.
Definition person.cpp:391
KCALCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalCore::Alarm::Ptr &)
Alarm deserializer.
Definition alarm.cpp:863
KCALCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalCore::Alarm::Ptr &)
Alarm serializer.
Definition alarm.cpp:853
static uint qHash(const KDateTime &dt)
Private class that helps to provide binary compatibility between releases.
Definition occurrenceiterator.cpp:157
uint qHash(const KCalCore::Person &key)
Return a hash value for a Person argument.
Definition person.cpp:171
This file is part of the API for handling calendar data and defines the Person class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.