languages/ruby/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 slotRun(); 00037 void projectConfigWidget(KDialogBase *dlg); 00038 00039 private: 00040 void startApplication(const QString &program); 00041 QString interpreter(); 00042 00043 }; 00044 00045 00046 #endif