KDevelop API Documentation

rubysupport_part.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (C) 2003 Marek Janukowicz <marek@janukowicz.net>
00003  */
00004 
00005 
00006 #ifndef __KDEVPART_RUBYSUPPORT_H__
00007 #define __KDEVPART_RUBYSUPPORT_H__
00008 
00009 
00010 #include <qguardedptr.h>
00011 
00012 #include <kprocess.h>
00013 #include <kdialogbase.h>
00014 
00015 #include "kdevplugin.h"
00016 #include "kdevlanguagesupport.h"
00017 
00018 
00019 class RubySupportWidget;
00020 
00021 
00022 class RubySupportPart : public KDevLanguageSupport
00023 {
00024   Q_OBJECT
00025 
00026 public:
00027 
00028   RubySupportPart(QObject *parent, const char *name, const QStringList &);
00029   virtual ~RubySupportPart();
00030 
00031 protected:
00032     virtual Features features();
00033     virtual KMimeType::List mimeTypes();
00034 
00035 private slots:
00036     void projectConfigWidget(KDialogBase *dlg);
00037     void projectOpened();
00038     void savedFile(const KURL &fileName);
00039     void addedFilesToProject(const QStringList &fileList);
00040     void removedFilesFromProject(const QStringList &fileList);
00041     void slotRun();
00042 
00043     void initialParse();
00044 
00045 private:
00046     void startApplication(const QString &program);
00047     QString interpreter();
00048 
00049     void maybeParse(const QString fileName);
00050     void parse(const QString &fileName);
00051 };
00052 
00053 
00054 #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:34 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003