fortransupportpart.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2001 by Bernd Gehrmann * 00003 * bernd@kdevelop.org * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 00012 #ifndef _FORTRANSUPPORTPART_H_ 00013 #define _FORTRANSUPPORTPART_H_ 00014 00015 class FixedFormParser; 00016 class KDialogBase; 00017 class QStringList; 00018 00019 #include "kdevlanguagesupport.h" 00020 00021 00022 class FortranSupportPart : public KDevLanguageSupport 00023 { 00024 Q_OBJECT 00025 00026 public: 00027 FortranSupportPart( QObject *parent, const char *name, const QStringList & ); 00028 ~FortranSupportPart(); 00029 00030 protected: 00031 virtual KDevLanguageSupport::Features features(); 00032 00033 private slots: 00034 void slotFtnchek(); 00035 void projectConfigWidget(KDialogBase *dlg); 00036 void projectOpened(); 00037 void projectClosed(); 00038 void savedFile(const KURL &fileName); 00039 void addedFilesToProject(const QStringList &fileList); 00040 void removedFilesFromProject(const QStringList &fileList); 00041 00042 // Internal 00043 void initialParse(); 00044 00045 private: 00046 void maybeParse(const QString fileName); 00047 00048 FixedFormParser *parser; 00049 }; 00050 00051 #endif