Nepomuk-Core
#include <indexcleaner.h>
Public Slots | |
void | setDelay (int msecs) |
Public Member Functions | |
IndexCleaner (QObject *parent=0) | |
virtual void | start () |
Static Public Member Functions | |
static QString | constructExcludeFiltersFilenameFilter (Nepomuk2::FileIndexerConfig *cfg) |
static QString | constructExcludeFiltersFolderFilter (Nepomuk2::FileIndexerConfig *cfg) |
static QString | constructExcludeFolderFilter (Nepomuk2::FileIndexerConfig *cfg) |
Protected Member Functions | |
virtual bool | doResume () |
virtual bool | doSuspend () |
Detailed Description
Definition at line 35 of file indexcleaner.h.
Constructor & Destructor Documentation
Nepomuk2::IndexCleaner::IndexCleaner | ( | QObject * | parent = 0 | ) |
Definition at line 72 of file indexcleaner.cpp.
Member Function Documentation
|
static |
Construct a SPARQL filter which matches all filenames (variable ?fn) that match one of the exclude filters set in cfg
.
Definition at line 336 of file indexcleaner.cpp.
|
static |
Construct a SPARQL filter which matches all file URLs (variable ?url) that should not be indexed according to the exclude filters.
In contrast to the above method the filter checks for matching exclude filters in path components instead of the file name. This method does take include folders into account but does not specifically handle hidden folders.
Definition at line 351 of file indexcleaner.cpp.
|
static |
Construct a SPARQL filter which matches all URLs (variable ?url) that should not be indexed according to the configured folders in cfg
.
This does not take exclude filters into account and ignores hidden folders alltogether.
Definition at line 301 of file indexcleaner.cpp.
|
protectedvirtual |
Definition at line 216 of file indexcleaner.cpp.
|
protectedvirtual |
Definition at line 209 of file indexcleaner.cpp.
|
slot |
Set the delay between the cleanup queries.
Used for throtteling the cleaner to not grab too many resources. Default is 0.
- See also
- IndexScheduler::setIndexingSpeed()
Definition at line 226 of file indexcleaner.cpp.
|
virtual |
Definition at line 81 of file indexcleaner.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.