akonadi
22 #ifndef CUSTOMFIELDS_P_H
23 #define CUSTOMFIELDS_P_H
25 #include <QtCore/QString>
26 #include <QtCore/QVariant>
50 typedef QVector<CustomField> List;
69 CustomField(
const QString &key,
const QString &title, Type type,
Scope scope );
73 void setKey(
const QString &key );
76 void setTitle(
const QString &title );
77 QString title()
const;
79 void setType( Type type );
82 void setScope(
Scope scope );
85 void setValue(
const QString &value );
86 QString value()
const;
88 QVariantMap toVariantMap()
const;
90 static QString typeToString( Type type );
91 static Type stringToType(
const QString &type );
@ LocalScope
Field has been defined by user for one contact.
@ ExternalScope
Field has been defined by the external data source (e.g. vCard)
A class that represents non-standard contact fields.
@ GlobalScope
Field has been defined by user for all contacts.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.