KDevelop API Documentation

DocIndexWatcher Class Reference

Watches index files for changes and marks the documentation tree as dirty if a change is detected. More...

#include <docindexwatcher.h>

Inheritance diagram for DocIndexWatcher:

Inheritance graph
[legend]
Collaboration diagram for DocIndexWatcher:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DocIndexWatcher (QObject *parent=0L, const char *name=0L)
void addItem (DocTreeItem *item)
void removeItem (const DocTreeItem *item)

Private Slots

void slotDirty (const QString &fileName)

Private Attributes

QDict< DocTreeItemm_docs

Detailed Description

Watches index files for changes and marks the documentation tree as dirty if a change is detected.

Definition at line 24 of file docindexwatcher.h.


Constructor & Destructor Documentation

DocIndexWatcher::DocIndexWatcher QObject parent = 0L,
const char *  name = 0L
 

Definition at line 18 of file docindexwatcher.cpp.

References slotDirty().


Member Function Documentation

void DocIndexWatcher::addItem DocTreeItem item  ) 
 

Definition at line 25 of file docindexwatcher.cpp.

References KDirWatch::addFile(), DocTreeItem::indexFileName(), m_docs, and KDirWatch::self().

Referenced by DocTreeItem::setIndexFileName().

void DocIndexWatcher::removeItem const DocTreeItem item  ) 
 

Definition at line 33 of file docindexwatcher.cpp.

References DocTreeItem::indexFileName(), m_docs, KDirWatch::removeFile(), and KDirWatch::self().

Referenced by DocTreeItem::setIndexFileName(), and DocTreeItem::~DocTreeItem().

void DocIndexWatcher::slotDirty const QString fileName  )  [private, slot]
 

Definition at line 41 of file docindexwatcher.cpp.

Referenced by DocIndexWatcher().


Member Data Documentation

QDict<DocTreeItem> DocIndexWatcher::m_docs [private]
 

Definition at line 38 of file docindexwatcher.h.

Referenced by addItem(), and removeItem().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:41:01 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003