KFileMetaData
poextractor.cpp
159 result->add(Property::TranslationTemplateDate, QByteArray(line.c_str() + 20, line.size() - 21));
163 result->add(Property::TranslationLastAuthor, QString::fromUtf8(QByteArray::fromRawData(line.c_str() + 18, line.size() - 19)));
The ExtractionResult class is where all the data extracted by the indexer is saved.
Definition extractionresult.h:37
QString inputUrl() const
The input URL which the plugins will use to locate the file.
Definition extractionresult.cpp:35
virtual void addType(Type::Type type)=0
This function is called by the plugins.
virtual void add(Property::Property property, const QVariant &value)=0
This function is called by the plugins when they wish to add a key value pair which should be indexed...
Flags inputFlags() const
The flags which the extraction plugin should considering following when extracting metadata from the ...
Definition extractionresult.cpp:45
The ExtractorPlugin is the base class for all file metadata extractors.
Definition extractorplugin.h:36
const char * constData() const const
QByteArray fromRawData(const char *data, qsizetype size)
QByteArray encodeName(const QString &fileName)
QString fromUtf8(QByteArrayView str)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.