KDevelop API Documentation

docindexwatcher.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2004 by Hamish Rodda                                    *
00003  *   rodda@kde.org                                                         *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  ***************************************************************************/
00011 
00012 #ifndef DOCINDEXWATCHER_H
00013 #define DOCINDEXWATCHER_H
00014 
00015 #include <qobject.h>
00016 #include <qdict.h>
00017 
00018 class DocTreeItem;
00019 
00024 class DocIndexWatcher : public QObject
00025 {
00026   Q_OBJECT
00027 
00028 public:
00029   DocIndexWatcher(QObject* parent = 0L, const char* name = 0L);
00030 
00031   void addItem(DocTreeItem* item);
00032   void removeItem(const DocTreeItem* item);
00033   
00034 private slots:
00035   void slotDirty(const QString& fileName);
00036   
00037 private:
00038   QDict<DocTreeItem> m_docs;
00039 };
00040 
00041 #endif
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:22:39 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003