2
Copyright (C) 2005 by Nicolas Escuder <n.escuder@intra-links.com>
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
version 2, License as published by the Free Software Foundation.
8
This library is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
Library General Public License for more details.
13
You should have received a copy of the GNU Library General Public License
14
along with this library; see the file COPYING.LIB. If not, write to
15
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
16
Boston, MA 02110-1301, USA.
24
#if QT_VERSION < 0x030100
25
#include <kdevmutex.h>
30
#include <codemodel.h>
32
#include <qwaitcondition.h>
34
#include <qstringlist.h>
45
class PHPParser: public QThread {
48
PHPParser(PHPSupportPart *part);
51
void addFile( const QString& fileName );
52
bool hasFile( const QString& fileName );
53
void reparseFile( const QString& fileName );
54
void removeFile( const QString& fileName );
55
void removeAllFiles();
64
PHPSupportPart* m_part;
67
QWaitCondition m_canParse;
69
QMap<QString, PHPFile*> m_files;