KFileMetaData
propertyinfo.h
The PropertyInfo class can be used to obtain extra information about any property.
Definition propertyinfo.h:30
QString name() const
The internal unique name used to refer to the property.
Definition propertyinfo.cpp:179
Property::Property property() const
The enumeration which represents this property.
Definition propertyinfo.cpp:184
static QStringList allNames()
Get the names of all valid, supported properties.
Definition propertyinfo.cpp:224
static PropertyInfo fromName(const QString &name)
Construct a PropertyInfo from the internal property name.
Definition propertyinfo.cpp:217
QString formatAsDisplayString(const QVariant &value) const
Returns the value of the property as a QString with added formatting, added units if needed,...
Definition propertyinfo.cpp:199
bool shouldBeIndexed() const
Indicates if this property requires indexing or should just be stored.
Definition propertyinfo.cpp:194
QMetaType::Type valueType() const
The type the value of this property should be.
Definition propertyinfo.cpp:189
Property
The Property enum contains all files property types that KFileMetaData manipulates.
Definition properties.h:26
Type
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:59 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:47:59 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.