RubySupportPart Class Reference
This is a Ruby support plugin. More...
#include <rubysupport_part.h>
Inheritance diagram for RubySupportPart:


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 | projectConfigWidget (KDialogBase *dlg) |
void | projectOpened () |
void | savedFile (const KURL &fileName) |
void | addedFilesToProject (const QStringList &fileList) |
void | removedFilesFromProject (const QStringList &fileList) |
void | slotRun () |
void | initialParse () |
Private Member Functions | |
void | startApplication (const QString &program) |
QString | interpreter () |
void | maybeParse (const QString fileName) |
void | parse (const QString &fileName) |
Detailed Description
This is a Ruby support plugin.
- 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
|
|
|
Definition at line 54 of file rubysupport_part.cpp. |
Member Function Documentation
|
Definition at line 111 of file rubysupport_part.cpp. References KDevLanguageSupport::addedSourceInfo(), kdDebug(), maybeParse(), KDevPlugin::project(), and KDevProject::projectDirectory(). Referenced by projectOpened(). |
|
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 152 of file rubysupport_part.cpp. References KDevLanguageSupport::Features. |
|
Definition at line 92 of file rubysupport_part.cpp. References KDevProject::allFiles(), kdDebug(), maybeParse(), KDevPlugin::project(), KDevProject::projectDirectory(), and KDevLanguageSupport::updatedSourceInfo(). Referenced by projectOpened(). |
|
Definition at line 238 of file rubysupport_part.cpp. References KDevPlugin::projectDom(), and DomUtil::readEntry(). Referenced by slotRun(). |
|
Definition at line 78 of file rubysupport_part.cpp. References KDevLanguageSupport::aboutToRemoveSourceInfo(), KDevPlugin::codeModel(), CodeModel::hasFile(), parse(), and CodeModel::removeFile(). Referenced by addedFilesToProject(), initialParse(), and savedFile(). |
|
Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog.
Reimplemented from KDevLanguageSupport. Definition at line 251 of file rubysupport_part.cpp. References KMimeType::List, KMimeType::mimeType(), and KMimeType::Ptr. |
|
Definition at line 157 of file rubysupport_part.cpp. References CodeModel::addFile(), ClassDom, KDevPlugin::codeModel(), CodeModel::create(), FileDom, FunctionDom, and kdDebug(). Referenced by maybeParse(). |
|
Definition at line 58 of file rubysupport_part.cpp. References KDialogBase::addVBoxPage(), and KDevPlugin::projectDom(). |
|
Definition at line 64 of file rubysupport_part.cpp. References addedFilesToProject(), initialParse(), kdDebug(), KDevPlugin::project(), and removedFilesFromProject(). |
|
Definition at line 125 of file rubysupport_part.cpp. References KDevLanguageSupport::aboutToRemoveSourceInfo(), KDevPlugin::codeModel(), CodeModel::hasFile(), kdDebug(), KDevPlugin::project(), KDevProject::projectDirectory(), and CodeModel::removeFile(). Referenced by projectOpened(). |
|
Definition at line 142 of file rubysupport_part.cpp. References KDevLanguageSupport::addedSourceInfo(), KDevProject::allFiles(), kdDebug(), Structure::length(), maybeParse(), KURL::path(), and KDevPlugin::project(). |
|
Definition at line 228 of file rubysupport_part.cpp. References KParts::PartManager::activePart(), file, interpreter(), KDevPlugin::partController(), KURL::path(), startApplication(), and KParts::ReadOnlyPart::url(). |
|
Definition at line 245 of file rubysupport_part.cpp. References KDevPlugin::appFrontend(), KDevPlugin::project(), KDevPlugin::projectDom(), DomUtil::readBoolEntry(), and KDevAppFrontend::startAppCommand(). Referenced by slotRun(). |
The documentation for this class was generated from the following files:
- languages/ruby/rubysupport_part.h
- languages/ruby/rubysupport_part.cpp