NepomukDaemons
Nepomuk::Config Class Reference
Active config class which emits signals if the config was changed, for example if the KCM saved the config file. More...
#include <config.h>

Signals | |
void | configChanged () |
Public Member Functions | |
QStringList | excludeFilters () const |
QStringList | excludeFolders () const |
QStringList | folders () const |
QStringList | includeFilters () const |
bool | isInitialRun () const |
KIO::filesize_t | minDiskSpace () const |
void | setShowGui (bool showGui) |
bool | shouldFolderBeIndexed (const QString &) |
bool | showGui () const |
~Config () | |
Static Public Member Functions | |
static Config * | self () |
Detailed Description
Active config class which emits signals if the config was changed, for example if the KCM saved the config file.Definition at line 33 of file config.h.
Constructor & Destructor Documentation
Nepomuk::Config::~Config | ( | ) |
Definition at line 42 of file config.cpp.
Member Function Documentation
void Nepomuk::Config::configChanged | ( | ) | [signal] |
QStringList Nepomuk::Config::excludeFilters | ( | ) | const |
Definition at line 67 of file config.cpp.
QStringList Nepomuk::Config::excludeFolders | ( | ) | const |
The folders that should be excluded.
It is perfectly possible to include subfolders again.
Definition at line 61 of file config.cpp.
QStringList Nepomuk::Config::folders | ( | ) | const |
QStringList Nepomuk::Config::includeFilters | ( | ) | const |
Definition at line 73 of file config.cpp.
bool Nepomuk::Config::isInitialRun | ( | ) | const |
true the first time the service is run (or after manually tampering with the config.
Definition at line 105 of file config.cpp.
KIO::filesize_t Nepomuk::Config::minDiskSpace | ( | ) | const |
The minimal available disk space.
If it drops below indexing will be suspended.
Definition at line 79 of file config.cpp.
Nepomuk::Config * Nepomuk::Config::self | ( | ) | [static] |
Definition at line 48 of file config.cpp.
void Nepomuk::Config::setShowGui | ( | bool | showGui | ) |
Definition at line 99 of file config.cpp.
bool Nepomuk::Config::shouldFolderBeIndexed | ( | const QString & | path | ) |
Check if the folder should be indexed based on folders() and excludeFolders().
Definition at line 111 of file config.cpp.
bool Nepomuk::Config::showGui | ( | ) | const |
Definition at line 93 of file config.cpp.
The documentation for this class was generated from the following files: