KDevelop API Documentation

haskellsupport_part.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           haskellsupport_part.h  -  description
00003                              -------------------
00004     begin                : Mon Aug 11 2003
00005     copyright            : (C) 2003 Peter Robinson
00006     email                : listener@thaldyron.com
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef KDEVPART_HASKELLSUPPORT_PART_H
00019 #define KDEVPART_HASKELLSUPPORT_PART_H
00020 
00021 #include <qwidget.h>
00022 #include <qguardedptr.h>
00023 
00024 #include "kdevlanguagesupport.h"
00025 
00026 class HaskellSupportWidget; // @todo remove this
00027 class KDialogBase;
00028 class QPopupMenu;
00029 class Context;
00030 
00031 class HaskellSupportPart : public KDevLanguageSupport
00032 {
00033    Q_OBJECT
00034 
00035 public:
00036     HaskellSupportPart(QObject *parent, const char *name, const QStringList &);
00037     ~HaskellSupportPart();
00038 
00039     virtual Features features();
00040     virtual KMimeType::List mimeTypes();
00041 
00042 private slots:
00043     void projectOpened();
00044     void projectClosed();
00045     void savedFile(const KURL &fileName);
00046     void configWidget(KDialogBase *dlg);
00047     void projectConfigWidget(KDialogBase *dlg);
00048     void contextMenu(QPopupMenu *popup, const Context *context);
00049 
00050     void addedFilesToProject(const QStringList &fileList);
00051     void removedFilesFromProject(const QStringList &fileList);
00052     void slotProjectCompiled();
00053 
00054     void slotInitialParse();
00055 
00056 private:
00057     void maybeParse(const QString &fileName);
00058     void parse(const QString &fileName);
00059 
00060     QGuardedPtr<HaskellSupportWidget> m_widget;
00061     bool m_projectClosed;
00062     QStringList m_projectFileList;
00063 };
00064 
00065 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:30 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003