• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

NepomukDaemons

Nepomuk::Config

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>

Inheritance diagram for Nepomuk::Config:

Inheritance graph
[legend]

List of all members.


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

The folders to search for files to analyze.

Definition at line 55 of file config.cpp.

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:
  • config.h
  • config.cpp

NepomukDaemons

Skip menu "NepomukDaemons"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KCMShell
  • KNotify
  • KStyles
  • Nepomuk Daemons
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal