1
/***************************************************************************
2
* Copyright (C) 2001-2002 by Bernd Gehrmann *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
***************************************************************************/
12
#ifndef _PERLSUPPORTPART_H_
13
#define _PERLSUPPORTPART_H_
15
#include "kdevlanguagesupport.h"
16
#include <codemodel.h>
17
#include "perlparser.h"
19
class PerlSupportPart : public KDevLanguageSupport
24
PerlSupportPart( QObject *parent, const char *name, const QStringList & );
28
virtual Features features();
29
virtual KMimeType::List mimeTypes();
34
void savedFile(const KURL &fileName);
35
void addedFilesToProject(const QStringList &fileList);
36
void removedFilesFromProject(const QStringList &fileList);
38
void slotExecuteString();
39
void slotStartInterpreter();
43
void slotPerldocFunction();
44
void slotPerldocFAQ();
47
QString interpreter();
48
void startApplication(const QString &program);
49
void maybeParse(const QString fileName);
50
void parse(const QString &fileName);
51
void parseLines(QStringList* lines,const QString& fileName);
52
void removeWithReference( const QString & fileName );