You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.1 KiB
52 lines
1.1 KiB
//
|
|
#ifndef __ADASUPPORTPART_H__
|
|
#define __ADASUPPORTPART_H__
|
|
|
|
#include "kdevlanguagesupport.h"
|
|
|
|
#include <tqwaitcondition.h>
|
|
|
|
class AdaSupportPartData;
|
|
class KDialogBase;
|
|
class TQStringList;
|
|
|
|
class AdaSupportPart : public KDevLanguageSupport
|
|
{
|
|
Q_OBJECT
|
|
TQ_OBJECT
|
|
public:
|
|
AdaSupportPart (TQObject *tqparent, 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
|