akonadi/contact
22 #ifndef AKONADI_CONTACTGROUPLINEEDIT_P_H
23 #define AKONADI_CONTACTGROUPLINEEDIT_P_H
25 #include <akonadi/item.h>
26 #include <kabc/addressee.h>
27 #include <kabc/contactgroup.h>
28 #include <klineedit.h>
36 class ContactGroupLineEdit :
public KLineEdit
41 explicit ContactGroupLineEdit(
QWidget *parent = 0 );
45 bool containsReference()
const;
47 void setContactData(
const KABC::ContactGroup::Data &data );
49 KABC::ContactGroup::Data contactData()
const;
51 void setContactReference(
const KABC::ContactGroup::ContactReference &reference );
53 KABC::ContactGroup::ContactReference contactReference()
const;
57 void fetchDone( KJob* );
58 void invalidateReference();
61 void updateView(
const KABC::ContactGroup::ContactReference &referrence );
62 void updateView(
const Akonadi::Item &item,
const QString &preferredEmail =
QString() );
63 QString requestPreferredEmail(
const KABC::Addressee &contact )
const;
66 bool mContainsReference;
67 KABC::ContactGroup::Data mContactData;
68 KABC::ContactGroup::ContactReference mContactReference;
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:19 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.