akonadi
22 #ifndef CUSTOMFIELDSEDITWIDGET_H
23 #define CUSTOMFIELDSEDITWIDGET_H
27 #include "customfieldsmodel.h"
36 void splitCustomField(
const QString &str, QString &app, QString &name, QString &value );
38 class CustomFieldsEditWidget :
public QWidget
43 explicit CustomFieldsEditWidget( QWidget *parent = 0 );
44 ~CustomFieldsEditWidget();
46 void loadContact(
const KABC::Addressee &contact );
47 void storeContact( KABC::Addressee &contact )
const;
49 void setReadOnly(
bool readOnly );
51 void setLocalCustomFieldDescriptions(
const QVariantList &descriptions );
52 QVariantList localCustomFieldDescriptions()
const;
58 void slotUpdateButtons();
63 QPushButton *mAddButton;
64 QPushButton *mEditButton;
65 QPushButton *mRemoveButton;
68 CustomFieldsModel *mModel;
69 CustomField::List mLocalCustomFields;
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.