KDevelop API Documentation

pascalsupport_part.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2003 Alexander Dymo                                     *
00003  *   cloudtemple@mksat.net                                                 *
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 #ifndef __KDEVPART_PASCALSUPPORT_H__
00011 #define __KDEVPART_PASCALSUPPORT_H__
00012 
00013 #include <qguardedptr.h>
00014 #include "kdevlanguagesupport.h"
00015 
00016 class PascalSupportWidget;
00017 class KDialogBase;
00018 class QPopupMenu;
00019 class Context;
00020 class PascalSupportPartData;
00021 
00022 class PascalSupportPart : public KDevLanguageSupport
00023 {
00024     Q_OBJECT
00025 public:
00026     PascalSupportPart(QObject *parent, const char *name, const QStringList &);
00027     ~PascalSupportPart();
00028 
00029     virtual Features features();
00030     virtual KMimeType::List mimeTypes();
00031 
00032     virtual QString formatTag( const Tag& tag );
00033     virtual QString formatModelItem( const CodeModelItem *item, bool shortDescription=false );
00034     
00035 private slots:
00036     void projectOpened();
00037     void projectClosed();
00038     void savedFile(const KURL &fileName);
00039     void configWidget(KDialogBase *dlg);
00040     void projectConfigWidget(KDialogBase *dlg);
00041     void contextMenu(QPopupMenu *popup, const Context *context);
00042 
00043     void addedFilesToProject(const QStringList &fileList);
00044     void removedFilesFromProject(const QStringList &fileList);
00045     void slotProjectCompiled();
00046 
00047     void initialParse();
00048 
00049 private:
00050     void maybeParse(const QString &fileName);
00051     void parse(const QString &fileName);
00052 
00053     QGuardedPtr<PascalSupportWidget> m_widget;
00054 
00055     bool m_projectClosed;
00056     QStringList m_projectFileList;
00057 
00058     PascalSupportPartData* d;
00059 
00060 };
00061 
00062 #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 Wed Mar 23 00:03:49 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003