KDevelop API Documentation

directorystatusmessagefilter.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 1999-2001 by Bernd Gehrmann                             *
00003  *   bernd@kdevelop.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 DirectoryStatusMessageFilter_h
00013 #define DirectoryStatusMessageFilter_h
00014 
00015 #include <qobject.h>
00016 #include "outputfilter.h"
00017 
00018 class EnteringDirectoryItem;
00019 class ExitingDirectoryItem;
00020 
00021 class DirectoryStatusMessageFilter :  public QObject, public OutputFilter
00022 {
00023 Q_OBJECT
00024 
00025 public:
00026     DirectoryStatusMessageFilter( OutputFilter& );
00027 
00028     void processLine( const QString& line );
00029 
00030 signals:
00031     void item( EnteringDirectoryItem* );
00032     void item( ExitingDirectoryItem*  );
00033 
00034 private:
00035     bool matchEnterDir( const QString& line, QString& dir );
00036     bool matchLeaveDir( const QString& line, QString& dir );
00037 };
00038 
00039 #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:41 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003