KDevelop API Documentation

RubySupportPart Class Reference

This is a Ruby support plugin. More...

#include <rubysupport_part.h>

Inheritance diagram for RubySupportPart:

KDevLanguageSupport KDevPlugin QObject KXMLGUIClient List of all members.

Public Member Functions

 RubySupportPart (QObject *parent, const char *name, const QStringList &)
virtual ~RubySupportPart ()

Protected Member Functions

virtual Features features ()
 Returns the feature set of the language.

virtual KMimeType::List mimeTypes ()
 Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog.


Private Slots

void slotRun ()
void projectConfigWidget (KDialogBase *dlg)

Private Member Functions

void startApplication (const QString &program)
QString interpreter ()

Detailed Description

This is a Ruby support plugin.

Author(s):
Marek Janukowicz

Maintainer(s):
Marek Janukowicz

Feature(s):
Ruby language support

.rb template for New File

Ruby project template for Application Wizard

"Run" option in menu

Consult Programming Languages Support Status for a up to date features/status of this programming language support part.

Bug:
Describe a the 1st bug that you know of, but probably hasn't been reported yet. ..

Describe a the nth bug that you know of, but probably hasn't been reported yet.

Requirement(s):
Describe a the 1st requirement of your part.

Describe a the 2nd requirement of your part. ...

Describe a the nth requirement of your part.

Todo:
Describe a the 1st TODO of your part.

Describe a the 2nd TODO of your part. ...

Describe a the nth TODO of your part.

F.A.Q.:
First frequenly asked question about your part ? Answer.

Second frequenly asked question about your part ? Answer. ...

Last frequenly asked question about your part ? Answer.

Note:
First note text.

Second note text. ...

Last note text.

Warning:
First warning text.

Second warning text. ...

Last warning text.

Definition at line 22 of file rubysupport_part.h.


Constructor & Destructor Documentation

RubySupportPart::RubySupportPart QObject parent,
const char *  name,
const QStringList
 

RubySupportPart::~RubySupportPart  )  [virtual]
 

Definition at line 49 of file rubysupport_part.cpp.


Member Function Documentation

KDevLanguageSupport::Features RubySupportPart::features  )  [protected, virtual]
 

Returns the feature set of the language.

This is e.g. used by the class view to decide which organizer items to display and which not.

Reimplemented from KDevLanguageSupport.

Definition at line 83 of file rubysupport_part.cpp.

QString RubySupportPart::interpreter  )  [private]
 

Definition at line 69 of file rubysupport_part.cpp.

References KDevPlugin::projectDom().

Referenced by slotRun().

KMimeType::List RubySupportPart::mimeTypes  )  [protected, virtual]
 

Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog.

Reimplemented from KDevLanguageSupport.

Definition at line 88 of file rubysupport_part.cpp.

References KMimeType::List, and KMimeType::Ptr.

void RubySupportPart::projectConfigWidget KDialogBase dlg  )  [private, slot]
 

Definition at line 53 of file rubysupport_part.cpp.

References KDialogBase::addVBoxPage(), projectConfigWidget(), and KDevPlugin::projectDom().

Referenced by projectConfigWidget().

void RubySupportPart::slotRun  )  [private, slot]
 

Definition at line 60 of file rubysupport_part.cpp.

References KParts::PartManager::activePart(), file, interpreter(), KDevPlugin::partController(), KURL::path(), startApplication(), and KParts::ReadOnlyPart::url().

void RubySupportPart::startApplication const QString program  )  [private]
 

Definition at line 77 of file rubysupport_part.cpp.

References KDevPlugin::appFrontend(), endl(), kdDebug(), KDevAppFrontend::startAppCommand(), and startApplication().

Referenced by slotRun(), and startApplication().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:06 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003