Nepomuk-Core
fileindexer.cpp
Go to the documentation of this file.
52 if( FileIndexerConfig::self()->isInitialRun() || !FileIndexerConfig::self()->initialUpdateDisabled() ) {
176 QString query = QString::fromLatin1("select count(distinct ?r) where { ?r kext:indexingLevel ?t. "
181 Soprano::QueryResultIterator it = model->executeQuery( query, Soprano::Query::QueryLanguageSparql );
190 QString query = QString::fromLatin1("select count(distinct ?r) where { ?r kext:indexingLevel ?t. }");
193 Soprano::QueryResultIterator it = model->executeQuery( query, Soprano::Query::QueryLanguageSparql );
The files in the folder should be updated regardless of their state.
Definition: basicindexingqueue.h:51
Q_SCRIPTABLE void indexingStopped()
Q_SCRIPTABLE QString currentFolder() const
Definition: fileindexer.cpp:151
Q_SCRIPTABLE int totalFiles() const
Definition: fileindexer.cpp:188
Q_SCRIPTABLE bool isSuspended() const
Definition: fileindexer.cpp:116
Q_SCRIPTABLE void setSuspended(bool)
Definition: fileindexer.cpp:105
Q_SCRIPTABLE QString statusMessage() const
Translated status message of the current Indexer behaviour.
Definition: fileindexer.cpp:90
The IndexScheduler is responsible for controlling the indexing queues and reacting to events...
Definition: indexscheduler.h:39
Q_SCRIPTABLE int currentStatus() const
Returns the internal state of the indexer.
Definition: fileindexer.cpp:95
Active config class which emits signals if the config was changed, for example if the KCM saved the c...
Definition: fileindexerconfig.h:38
void statusStringChanged()
Q_SCRIPTABLE bool isCleaning() const
Definition: fileindexer.cpp:127
void updateAll(bool forceUpdate=false)
Updates all configured folders.
Definition: indexscheduler.cpp:218
The folder should be updated recursive.
Definition: basicindexingqueue.h:39
static ResourceManager * instance()
Definition: resourcemanager.cpp:270
Q_SCRIPTABLE void updateFolder(const QString &path, bool recursive, bool forced)
Update folder path if it is configured to be indexed.
Definition: fileindexer.cpp:157
Q_SCRIPTABLE void indexFolder(const QString &path, bool recursive, bool forced)
Index a folder independent of its configuration status.
Definition: fileindexer.cpp:213
Q_SCRIPTABLE void indexFile(const QString &path)
Index a specific file.
Definition: fileindexer.cpp:207
Q_SCRIPTABLE void statusChanged()
Q_SCRIPTABLE QString userStatusString() const
Definition: fileindexer.cpp:100
Q_SCRIPTABLE QString currentFile() const
Definition: fileindexer.cpp:145
void setInitialRun(bool isInitialRun)
Should be called once the initial indexing is done, ie.
Definition: fileindexerconfig.cpp:466
Q_SCRIPTABLE void updateAllFolders(bool forced)
Update all folders configured to be indexed.
Definition: fileindexer.cpp:201
Q_SCRIPTABLE bool isIndexing() const
Definition: fileindexer.cpp:122
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
Q_SCRIPTABLE int indexedFiles() const
Definition: fileindexer.cpp:174
Q_SCRIPTABLE void indexingStarted()
Q_SCRIPTABLE void fileIndexingDone()
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.