KDevelop API Documentation

pythonsupportpart.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2001-2002 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 _PYTHONSUPPORTPART_H_
00013 #define _PYTHONSUPPORTPART_H_
00014 
00015 
00016 #include "kdevlanguagesupport.h"
00017 
00018 class KDialogBase;
00019 class QStringList;
00020 
00021 class PythonSupportPart : public KDevLanguageSupport
00022 {
00023     Q_OBJECT
00024 
00025 public:
00026     PythonSupportPart( QObject *parent, const char *name, const QStringList & );
00027     ~PythonSupportPart();
00028 
00029 protected:
00030     virtual Features features();
00031     virtual KMimeType::List mimeTypes();
00032     
00033 private slots:
00034     void projectConfigWidget(KDialogBase *dlg);
00035     void projectOpened();
00036     void projectClosed();
00037     void savedFile(const KURL &fileName);
00038     void addedFilesToProject(const QStringList &fileList);
00039     void removedFilesFromProject(const QStringList &fileList);
00040     void slotExecute();
00041     void slotExecuteString();
00042     void slotStartInterpreter();
00043     
00044     // Internal
00045     void initialParse();
00046     void slotPydoc();
00047     
00048 private:
00049     QString interpreter();
00050     void startApplication(const QString &program);
00051     void maybeParse(const QString fileName);
00052     void parse(const QString &fileName);
00053 };
00054 
00055 #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:33 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003