21 #ifndef KCONTACTS_CONTACTGROUP_H 22 #define KCONTACTS_CONTACTGROUP_H 25 #include <QSharedDataPointer> 28 #include "kcontacts_export.h" 86 void setUid(
const QString &uid);
94 Q_REQUIRED_RESULT
QString uid()
const;
101 void setGid(
const QString &gid);
107 Q_REQUIRED_RESULT
QString gid()
const;
112 void setPreferredEmail(
const QString &email);
118 Q_REQUIRED_RESULT
QString preferredEmail()
const;
133 void removeCustom(
const QString &key);
152 class ContactReferencePrivate;
190 void setUid(
const QString &uid);
210 void removeCustom(
const QString &key);
229 class ContactGroupReferencePrivate;
267 void setName(
const QString &name);
272 Q_REQUIRED_RESULT
QString name()
const;
277 void setEmail(
const QString &email);
282 Q_REQUIRED_RESULT
QString email()
const;
297 void removeCustom(
const QString &key);
313 Q_REQUIRED_RESULT
bool operator==(
const Data &other)
const;
353 Q_REQUIRED_RESULT
QString id()
const;
358 void setName(
const QString &name);
363 Q_REQUIRED_RESULT
QString name()
const;
369 Q_REQUIRED_RESULT
int count()
const;
374 Q_REQUIRED_RESULT
int contactReferenceCount()
const;
379 Q_REQUIRED_RESULT
int contactGroupReferenceCount()
const;
384 Q_REQUIRED_RESULT
int dataCount()
const;
409 Data &data(
int index);
414 const Data &data(
int index)
const;
429 void append(
const Data &data);
444 void remove(
const Data &data);
449 void removeAllContactReferences();
454 void removeAllContactGroupReferences();
459 void removeAllContactData();
469 Q_REQUIRED_RESULT
bool operator==(
const ContactGroup &other)
const;
484 #define KCONTACTS_CONTACTGROUP_METATYPE_DEFINED
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Wed Dec 11 2019 06:55:20 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.