• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

Nepomuk-Core

  • Nepomuk2
  • IndexCleaner
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Nepomuk2::IndexCleaner Class Reference

#include <indexcleaner.h>

Inheritance diagram for Nepomuk2::IndexCleaner:
Inheritance graph
[legend]

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

QString Nepomuk2::IndexCleaner::constructExcludeFiltersFilenameFilter ( Nepomuk2::FileIndexerConfig *  cfg)
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.

QString Nepomuk2::IndexCleaner::constructExcludeFiltersFolderFilter ( Nepomuk2::FileIndexerConfig *  cfg)
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.

QString Nepomuk2::IndexCleaner::constructExcludeFolderFilter ( Nepomuk2::FileIndexerConfig *  cfg)
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.

bool Nepomuk2::IndexCleaner::doResume ( )
protectedvirtual

Definition at line 216 of file indexcleaner.cpp.

bool Nepomuk2::IndexCleaner::doSuspend ( )
protectedvirtual

Definition at line 209 of file indexcleaner.cpp.

void Nepomuk2::IndexCleaner::setDelay ( int  msecs)
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.

void Nepomuk2::IndexCleaner::start ( )
virtual

Definition at line 81 of file indexcleaner.cpp.


The documentation for this class was generated from the following files:
  • indexcleaner.h
  • indexcleaner.cpp
This file is part of the KDE documentation.
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.

Nepomuk-Core

Skip menu "Nepomuk-Core"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal