8#ifndef KCONTACTS_CONTACTGROUP_H
9#define KCONTACTS_CONTACTGROUP_H
13#include <QSharedDataPointer>
15#include "kcontacts_export.h"
73 void setUid(
const QString &uid);
81 Q_REQUIRED_RESULT
QString uid()
const;
88 void setGid(
const QString &gid);
94 Q_REQUIRED_RESULT
QString gid()
const;
99 void setPreferredEmail(
const QString &email);
105 Q_REQUIRED_RESULT
QString preferredEmail()
const;
120 void removeCustom(
const QString &key);
139 class ContactReferencePrivate;
177 void setUid(
const QString &uid);
197 void removeCustom(
const QString &key);
216 class ContactGroupReferencePrivate;
254 void setName(
const QString &name);
259 Q_REQUIRED_RESULT
QString name()
const;
264 void setEmail(
const QString &email);
269 Q_REQUIRED_RESULT
QString email()
const;
284 void removeCustom(
const QString &key);
300 Q_REQUIRED_RESULT
bool operator==(
const Data &other)
const;
340 Q_REQUIRED_RESULT
QString id()
const;
345 void setName(
const QString &name);
350 Q_REQUIRED_RESULT
QString name()
const;
356 Q_REQUIRED_RESULT
int count()
const;
361 Q_REQUIRED_RESULT
int contactReferenceCount()
const;
366 Q_REQUIRED_RESULT
int contactGroupReferenceCount()
const;
371 Q_REQUIRED_RESULT
int dataCount()
const;
396 Data &data(
int index);
401 const Data &data(
int index)
const;
416 void append(
const Data &data);
431 void remove(
const Data &data);
436 void removeAllContactReferences();
441 void removeAllContactGroupReferences();
446 void removeAllContactData();
456 Q_REQUIRED_RESULT
bool operator==(
const ContactGroup &other)
const;
471#define KCONTACTS_CONTACTGROUP_METATYPE_DEFINED
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:26 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.