akonadi
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>
30 class QAbstractItemModel;
36 class ContactGroupLineEdit :
public KLineEdit
41 explicit ContactGroupLineEdit( QWidget *parent = 0 );
43 void setCompletionModel( QAbstractItemModel *model );
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;
56 void autoCompleted(
const QModelIndex& );
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;
65 QCompleter *mCompleter;
66 bool mContainsReference;
67 KABC::ContactGroup::Data mContactData;
68 KABC::ContactGroup::ContactReference mContactReference;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.