KTNEF Library
ktnefpropertyset.cpp
Go to the documentation of this file.
QVariant attribute(int key) const
Returns the attribute associcated with the specified key.
Definition: ktnefpropertyset.cpp:186
QVariant property(int key) const
Returns the property associcated with the specified key.
Definition: ktnefpropertyset.cpp:135
void addProperty(int key, int type, const QVariant &value, const QVariant &name=QVariant(), bool overwrite=false)
Adds a MAPI property.
Definition: ktnefpropertyset.cpp:59
QString findProp(int key, const QString &fallback=QString(), bool convertToUpper=false) const
Finds a property by key, returning a formatted value.
Definition: ktnefpropertyset.cpp:74
QMap< int, KTNEFProperty * > & properties()
Returns a #QMap of all (key,MAPI) properties.
Definition: ktnefpropertyset.cpp:125
void addAttribute(int key, int type, const QVariant &value, bool overwrite=false)
Adds a TNEF attribute.
Definition: ktnefpropertyset.cpp:161
QString findNamedProp(const QString &name, const QString &fallback=QString(), bool convertToUpper=false) const
Finds a property by name, returning a formatted value.
Definition: ktnefpropertyset.cpp:87
This file is part of the API for handling TNEF data and defines the KTNEFPropertySet class...
This file is part of the API for handling TNEF data and defines the KTNEFProperty class...
static QString formatValue(const QVariant &v, bool beautify=true)
Creates a formatted string from the value of the property.
Definition: ktnefproperty.cpp:97
QMap< int, KTNEFProperty * > & attributes()
Returns a #QMap of all (key,TNEF) attributes.
Definition: ktnefpropertyset.cpp:176
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:01:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:01:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.