KTnef
ktnefpropertyset.h
Go to the documentation of this file.
58 void addProperty(int key, int type, const QVariant &value, const QVariant &name = QVariant(), bool overwrite = false);
71 [[nodiscard]] QString findProp(int key, const QString &fallback = QString(), bool convertToUpper = false) const;
84 [[nodiscard]] QString findNamedProp(const QString &name, const QString &fallback = QString(), bool convertToUpper = false) const;
QMap< int, KTNEFProperty * > & properties()
Returns a QMap of all (key,MAPI) properties.
Definition ktnefpropertyset.cpp:98
QString findProp(int key, const QString &fallback=QString(), bool convertToUpper=false) const
Finds a property by key, returning a formatted value.
Definition ktnefpropertyset.cpp:56
QMap< int, KTNEFProperty * > & attributes()
Returns a QMap of all (key,TNEF) attributes.
Definition ktnefpropertyset.cpp:146
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:66
QVariant property(int key) const
Returns the property associated with the specified key.
Definition ktnefpropertyset.cpp:108
void addProperty(int key, int type, const QVariant &value, const QVariant &name=QVariant(), bool overwrite=false)
Adds a MAPI property.
Definition ktnefpropertyset.cpp:42
void addAttribute(int key, int type, const QVariant &value, bool overwrite=false)
Adds a TNEF attribute.
Definition ktnefpropertyset.cpp:132
QVariant attribute(int key) const
Returns the attribute associated with the specified key.
Definition ktnefpropertyset.cpp:156
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:48 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:48 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.