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

Nepomuk-Core

  • Nepomuk2
  • BasicIndexingQueue
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
Nepomuk2::BasicIndexingQueue Class Reference

#include <basicindexingqueue.h>

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

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

Nepomuk2::BasicIndexingQueue::BasicIndexingQueue ( QObject *  parent = 0)
explicit

Definition at line 37 of file basicindexingqueue.cpp.

Member Function Documentation

void Nepomuk2::BasicIndexingQueue::beginIndexingFile ( const QUrl &  url)
signal
void Nepomuk2::BasicIndexingQueue::clear ( )
slot

Definition at line 42 of file basicindexingqueue.cpp.

void Nepomuk2::BasicIndexingQueue::clear ( const QString &  path)
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.

void Nepomuk2::BasicIndexingQueue::endIndexingFile ( const QUrl &  url)
signal
void Nepomuk2::BasicIndexingQueue::enqueue ( const QString &  path)
slot

Definition at line 75 of file basicindexingqueue.cpp.

void Nepomuk2::BasicIndexingQueue::enqueue ( const QString &  path,
UpdateDirFlags  flags 
)
slot

Definition at line 83 of file basicindexingqueue.cpp.

bool Nepomuk2::BasicIndexingQueue::isEmpty ( )
virtual

Implements Nepomuk2::IndexingQueue.

Definition at line 70 of file basicindexingqueue.cpp.

void Nepomuk2::BasicIndexingQueue::processNextIteration ( )
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:
  • basicindexingqueue.h
  • basicindexingqueue.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