1
/***************************************************************************
2
haskellsupport_part.h - description
4
begin : Mon Aug 11 2003
5
copyright : (C) 2003 Peter Robinson
6
email : listener@thaldyron.com
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
18
#ifndef KDEVPART_HASKELLSUPPORT_PART_H
19
#define KDEVPART_HASKELLSUPPORT_PART_H
22
#include <qguardedptr.h>
24
#include "kdevlanguagesupport.h"
26
class HaskellSupportWidget; // @todo remove this
31
class HaskellSupportPart : public KDevLanguageSupport
36
HaskellSupportPart(QObject *parent, const char *name, const QStringList &);
37
~HaskellSupportPart();
39
virtual Features features();
40
virtual KMimeType::List mimeTypes();
45
void savedFile(const KURL &fileName);
46
void configWidget(KDialogBase *dlg);
47
void projectConfigWidget(KDialogBase *dlg);
48
void contextMenu(QPopupMenu *popup, const Context *context);
50
void addedFilesToProject(const QStringList &fileList);
51
void removedFilesFromProject(const QStringList &fileList);
52
void slotProjectCompiled();
54
void slotInitialParse();
57
void maybeParse(const QString &fileName);
58
void parse(const QString &fileName);
60
QGuardedPtr<HaskellSupportWidget> m_widget;
62
QStringList m_projectFileList;