Nepomuk-Core
basicindexingqueue.cpp
Go to the documentation of this file.
176 needToIndex = !model->executeQuery( query, Soprano::Query::QueryLanguageSparqlNoInference ).boolValue();
180 QString query = QString::fromLatin1("ask where { ?r nie:url %1 ; nie:lastModified ?dt . FILTER(?dt=%2) .}")
184 needToIndex = !model->executeQuery( query, Soprano::Query::QueryLanguageSparqlNoInference ).boolValue();
bool shouldFolderBeIndexed(const QString &path) const
Check if the folder at path should be indexed.
Definition: fileindexerconfig.cpp:179
The files in the folder should be updated regardless of their state.
Definition: basicindexingqueue.h:51
bool shouldMimeTypeBeIndexed(const QString &mimeType) const
Checks if mimeType should be indexed.
Definition: fileindexerconfig.cpp:219
virtual void processNextIteration()
Process the next iteration in your queue.
Definition: basicindexingqueue.cpp:94
void startedIndexing()
The derived queues must emit this signal when their queue gets filled up.
KJob * clearIndexedData(const QUrl &url)
remove all indexed data for url the datamanagement way
Definition: util.cpp:42
bool shouldFileBeIndexed(const QString &fileName) const
Check fileName for all exclude filters.
Definition: fileindexerconfig.cpp:212
void callForNextIteration()
Definition: indexingqueue.cpp:64
void enqueue(const QString &path)
Definition: basicindexingqueue.cpp:75
No flags, only used to make code more readable.
Definition: basicindexingqueue.h:34
void finishIteration()
Call this function when you have finished processing the iteration from processNextIteration.
Definition: indexingqueue.cpp:81
void endIndexingFile(const QUrl &url)
The folder should be updated recursive.
Definition: basicindexingqueue.h:39
static ResourceManager * instance()
Definition: resourcemanager.cpp:270
UpdateDirFlags currentFlags() const
Definition: basicindexingqueue.cpp:64
QUrl currentUrl() const
Definition: basicindexingqueue.cpp:59
BasicIndexingQueue(QObject *parent=0)
Definition: basicindexingqueue.cpp:37
void beginIndexingFile(const QUrl &url)
static FileIndexerConfig * self()
Get the first created instance of FileIndexerConfig.
Definition: fileindexerconfig.cpp:82
Soprano::Model * mainModel()
Retrieve the main data storage model.
Definition: resourcemanager.cpp:363
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.