KTNEF Library
ktnefpropertyset.cpp
Go to the documentation of this file.
QMap< int, KTNEFProperty * > & properties()
Returns a #QMap of all (key,MAPI) properties.
Definition ktnefpropertyset.cpp:125
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 * > & attributes()
Returns a #QMap of all (key,TNEF) attributes.
Definition ktnefpropertyset.cpp:176
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
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
void addAttribute(int key, int type, const QVariant &value, bool overwrite=false)
Adds a TNEF attribute.
Definition ktnefpropertyset.cpp:161
QVariant attribute(int key) const
Returns the attribute associcated with the specified key.
Definition ktnefpropertyset.cpp:186
static QString formatValue(const QVariant &v, bool beautify=true)
Creates a formatted string from the value of the property.
Definition ktnefproperty.cpp:97
This file is part of the API for handling TNEF data and defines the KTNEFProperty class.
This file is part of the API for handling TNEF data and defines the KTNEFPropertySet class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.