Nepomuk-Core
extractorpluginmanager.cpp
Go to the documentation of this file.
66 Nepomuk2::ExtractorPlugin* ex = service->createInstance<Nepomuk2::ExtractorPlugin>( this, QVariantList(), &error );
79 QList<ExtractorPlugin*> ExtractorPluginManager::fetchExtractors(const QUrl& url, const QString& mimetype)
QList< ExtractorPlugin * > fetchExtractors(const QUrl &url, const QString &mimetype)
Fetch the extractors which can be used to extract data for the respective file with the given mimetyp...
Definition: extractorpluginmanager.cpp:79
The ExtractorPlugin is the base class for all file metadata extractors.
Definition: extractorplugin.h:60
virtual ~ExtractorPluginManager()
Definition: extractorpluginmanager.cpp:48
The plugin implements the determineMimeType function and uses that to determine if the url and mimety...
Definition: extractorplugin.h:82
virtual ExtractingCritera criteria()
Returns the critera that is being used for determining if this plugin can index the files provided to...
Definition: extractorplugin.cpp:39
This is a simple plugin that just has a list of mimetypes that it supports.
Definition: extractorplugin.h:76
virtual bool shouldExtract(const QUrl &url, const QString &mimeType)
By default this returns true if mimetype is in the list of mimetypes provided by the plugin...
Definition: extractorplugin.cpp:49
ExtractorPluginManager(QObject *parent=0)
Definition: extractorpluginmanager.cpp:32
virtual QStringList mimetypes()
Provide a list of mimetypes which are supported by this plugin.
Definition: extractorplugin.cpp:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.