KFileMetaData
typeinfo.cpp
33const TypeInfoPrivate TypeInfoPrivate::s_Empty{ Type::Empty, QStringLiteral("empty"), kli18nc("@label", "Empty") };
41 TypeInfoPrivate{ Type::Presentation, QStringLiteral("Presentation"), kli18nc("@label", "Presentation") },
42 TypeInfoPrivate{ Type::Spreadsheet, QStringLiteral("Spreadsheet"), kli18nc("@label", "Spreadsheet") },
The TypeInfo class can be used to obtain a rough type classification for a file.
Definition typeinfo.h:31
static TypeInfo fromName(const QString &name)
Construct a TypeInfo from the internal type name.
Definition typeinfo.cpp:114
QString toString() const
Type type(const QSqlDatabase &db)
Type
A Type represents a way to represent a way to group files based on a higher level view,...
Definition types.h:29
void reserve(qsizetype size)
void append(QList< T > &&value)
void reserve(qsizetype size)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.