KFileMetaData
extractorplugin.h
The ExtractionResult class is where all the data extracted by the indexer is saved.
Definition extractionresult.h:37
The ExtractorPlugin is the base class for all file metadata extractors.
Definition extractorplugin.h:36
static QStringList contactsFromString(const QString &string)
Tries to split the string into names.
Definition extractorplugin.cpp:34
static QDateTime dateTimeFromString(const QString &dateString)
Tries to extract a valid date time from the string provided.
Definition extractorplugin.cpp:29
virtual QStringList mimetypes() const =0
Provide a list of MIME types which are supported by this plugin.
QString getSupportedMimeType(const QString &mimetype) const
Return the inherited MIME type which the extractor directly supports.
Definition extractorplugin.cpp:66
virtual void extract(ExtractionResult *result)=0
The main function of the plugin that is responsible for extracting the data and filling up the Extrac...
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
QObject * parent() const const
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.