Nepomuk-Core
#include <basicindexingqueue.h>
Public Slots | |
void | clear () |
void | clear (const QString &path) |
void | enqueue (const QString &path) |
void | enqueue (const QString &path, UpdateDirFlags flags) |
Public Slots inherited from Nepomuk2::IndexingQueue | |
void | resume () |
void | suspend () |
Signals | |
void | beginIndexingFile (const QUrl &url) |
void | endIndexingFile (const QUrl &url) |
Signals inherited from Nepomuk2::IndexingQueue | |
void | finishedIndexing () |
void | startedIndexing () |
Public Member Functions | |
BasicIndexingQueue (QObject *parent=0) | |
UpdateDirFlags | currentFlags () const |
QUrl | currentUrl () const |
virtual bool | isEmpty () |
Public Member Functions inherited from Nepomuk2::IndexingQueue | |
IndexingQueue (QObject *parent=0) | |
virtual void | fillQueue () |
void | setDelay (int msec) |
Protected Member Functions | |
virtual void | processNextIteration () |
Additional Inherited Members | |
Protected Slots inherited from Nepomuk2::IndexingQueue | |
void | callForNextIteration () |
void | finishIteration () |
Detailed Description
This class represents a simple queue that iterates over the file system tree and indexes each file which meets certain critera.
The indexing performed by this queue is very basic. It just pushes the mimetype, url and stat results of the file.
Definition at line 60 of file basicindexingqueue.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 37 of file basicindexingqueue.cpp.
Member Function Documentation
|
signal |
|
slot |
Definition at line 42 of file basicindexingqueue.cpp.
|
slot |
Definition at line 49 of file basicindexingqueue.cpp.
UpdateDirFlags Nepomuk2::BasicIndexingQueue::currentFlags | ( | ) | const |
Definition at line 64 of file basicindexingqueue.cpp.
QUrl Nepomuk2::BasicIndexingQueue::currentUrl | ( | ) | const |
Definition at line 59 of file basicindexingqueue.cpp.
|
signal |
|
slot |
Definition at line 75 of file basicindexingqueue.cpp.
|
slot |
Definition at line 83 of file basicindexingqueue.cpp.
|
virtual |
Implements Nepomuk2::IndexingQueue.
Definition at line 70 of file basicindexingqueue.cpp.
|
protectedvirtual |
Process the next iteration in your queue.
Once you are done processing the file call finishIndexingFile so that the queue can continue processing and call this function when it is ready for the next iteration.
- See also
- finishIndexingFile
Implements Nepomuk2::IndexingQueue.
Definition at line 94 of file basicindexingqueue.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.