blob: eb9e263028f4ddcd43bc30c76244a9fd706ef2ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
//
#ifndef __ADASUPPORTPART_H__
#define __ADASUPPORTPART_H__
#include "kdevlanguagesupport.h"
#include <tqwaitcondition.h>
class AdaSupportPartData;
class KDialogBase;
class TQStringList;
class AdaSupportPart : public KDevLanguageSupport
{
Q_OBJECT
public:
AdaSupportPart (TQObject *parent, const char *name, const TQStringList &);
~AdaSupportPart ();
void parseContents (const TQString& contents, const TQString& fileName);
protected:
Features features ();
KMimeType::List mimeTypes ();
TQStringList fileExtensions ();
private slots:
void projectOpened ();
void projectClosed ();
void addedFilesToProject (const TQStringList &fileList);
void removedFilesFromProject (const TQStringList &fileList);
void changedFilesInProject( const TQStringList &fileList );
void initialParse ();
void savedFile (const KURL&);
private:
void maybeParse (const TQString &fileName);
void parse (const TQString &fileName);
void saveProjectSourceInfo( );
private:
AdaSupportPartData* d;
friend class ProblemReporter;
};
#endif
|