Nepomuk-Core
#include <nepomukfilewatch.h>

Public Slots | |
| Q_SCRIPTABLE bool | isUpdatingMetaData () const |
| Q_SCRIPTABLE QString | statusMessage () const |
Signals | |
| Q_SCRIPTABLE void | metadataUpdateStarted () |
| Q_SCRIPTABLE void | metadataUpdateStopped () |
| Q_SCRIPTABLE void | status (int status, QString msg) |
Public Member Functions | |
| FileWatch () | |
| ~FileWatch () | |
Public Member Functions inherited from Nepomuk2::Service2 | |
| Service2 (QObject *parent=0, bool delayedInitialization=false) | |
| virtual | ~Service2 () |
| QString | dbusServiceName () |
| QString | description () |
| QString | name () |
Static Public Member Functions | |
| static void | updateFileViaFileIndexer (const QString &path) |
| static void | updateFolderViaFileIndexer (const QString &path) |
Static Public Member Functions inherited from Nepomuk2::Service2 | |
| static QString | dbusServiceName (const QString &serviceName) |
| template<typename T > | |
| static int | init (int argc, char **argv, const KAboutData &aboutData) |
| template<typename T > | |
| static int | initUI (int argc, char **argv, const KAboutData &aboutData) |
Additional Inherited Members | |
Protected Member Functions inherited from Nepomuk2::Service2 | |
| bool | initCommon (const QString &name) |
| void | setServiceInitialized (bool success) |
Detailed Description
Definition at line 40 of file nepomukfilewatch.h.
Constructor & Destructor Documentation
| Nepomuk2::FileWatch::FileWatch | ( | ) |
Definition at line 119 of file nepomukfilewatch.cpp.
| Nepomuk2::FileWatch::~FileWatch | ( | ) |
Definition at line 210 of file nepomukfilewatch.cpp.
Member Function Documentation
|
slot |
Returns if the watcher is doing something.
- Returns
- true watcher is working
- false watcher is idle
Definition at line 231 of file nepomukfilewatch.cpp.
|
signal |
Emitted when the watcher starts to do something.
|
signal |
Emitted when the watcher stops to do something.
|
signal |
Emitted each time the status/activity of the FileWatcher changes.
status what the watcher is doing
- 0 idle
- 1 working
msg translated status message that indicates what is happening
|
slot |
Returns a translated status message that indicates what is happening.
- Returns
- translated status string
Definition at line 236 of file nepomukfilewatch.cpp.
|
static |
Tells the file indexer to update the file (it can also be a folder but then updating will not be recursive) at path.
Definition at line 310 of file nepomukfilewatch.cpp.
|
static |
Tells the file indexer to update the folder at path or the folder containing path in case it is a file.
Definition at line 322 of file nepomukfilewatch.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.
KDE API Reference
Public Member Functions inherited from