KDevelop API Documentation

PerlSupportPart Class Reference

This is perl language support plugin. More...

#include <perlsupportpart.h>

Inheritance diagram for PerlSupportPart:

Inheritance graph
[legend]
Collaboration diagram for PerlSupportPart:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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 projectOpened ()
void projectClosed ()
void savedFile (const KURL &fileName)
void addedFilesToProject (const QStringList &fileList)
void removedFilesFromProject (const QStringList &fileList)
void slotExecute ()
void slotExecuteString ()
void slotStartInterpreter ()
void initialParse ()
void slotPerldocFunction ()
void slotPerldocFAQ ()

Private Member Functions

QString interpreter ()
void startApplication (const QString &program)
void maybeParse (const QString fileName)
void parse (const QString &fileName)
void parseLines (QStringList *lines, const QString &fileName)
void removeWithReference (const QString &fileName)
void parseUseFiles ()

Private Attributes

perlparserm_parser

Detailed Description

This is perl language support plugin.

Put a more detailed description of your part in these lines. It can span over several lines. You can even use some html commands in these lines like: This is code, html links link text, and images.

Author(s):
Bernd Gehrmann

Luc Willems

Maintainer(s):
Luc Willems

Feature(s):
perl programming language support

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 19 of file perlsupportpart.h.


Constructor & Destructor Documentation

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

PerlSupportPart::~PerlSupportPart  ) 
 

Definition at line 94 of file perlsupportpart.cpp.

References m_parser, KDevPlugin::project(), and projectClosed().


Member Function Documentation

void PerlSupportPart::addedFilesToProject const QStringList fileList  )  [private, slot]
 

Definition at line 136 of file perlsupportpart.cpp.

References kdDebug(), maybeParse(), and KDevPlugin::project().

Referenced by projectOpened().

KDevLanguageSupport::Features PerlSupportPart::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 176 of file perlsupportpart.cpp.

References KDevLanguageSupport::Features.

void PerlSupportPart::initialParse  )  [private, slot]
 

Definition at line 256 of file perlsupportpart.cpp.

References KDevProject::allFiles(), perlparser::initialParse(), kdDebug(), m_parser, KDevPlugin::mainWindow(), maybeParse(), parseUseFiles(), KDevPlugin::project(), KDevMainWindow::statusBar(), and KDevLanguageSupport::updatedSourceInfo().

Referenced by projectOpened().

QString PerlSupportPart::interpreter  )  [private]
 

Definition at line 182 of file perlsupportpart.cpp.

References KDevPlugin::projectDom(), and DomUtil::readEntry().

Referenced by slotExecute(), and slotStartInterpreter().

void PerlSupportPart::maybeParse const QString  fileName  )  [private]
 

Definition at line 123 of file perlsupportpart.cpp.

References KDevLanguageSupport::addedSourceInfo(), kdDebug(), m_parser, perlparser::parse(), and removeWithReference().

Referenced by addedFilesToProject(), initialParse(), parseUseFiles(), and savedFile().

KMimeType::List PerlSupportPart::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 247 of file perlsupportpart.cpp.

References KMimeType::List, KMimeType::mimeType(), and KMimeType::Ptr.

void PerlSupportPart::parse const QString fileName  )  [private]
 

void PerlSupportPart::parseLines QStringList lines,
const QString fileName
[private]
 

void PerlSupportPart::parseUseFiles  )  [private]
 

Definition at line 309 of file perlsupportpart.cpp.

References perlparser::findLib(), kdDebug(), m_parser, maybeParse(), and perlparser::UseFiles().

Referenced by initialParse().

void PerlSupportPart::projectClosed  )  [private, slot]
 

Definition at line 119 of file perlsupportpart.cpp.

Referenced by ~PerlSupportPart().

void PerlSupportPart::projectOpened  )  [private, slot]
 

Definition at line 104 of file perlsupportpart.cpp.

References addedFilesToProject(), initialParse(), kdDebug(), KDevPlugin::project(), and removedFilesFromProject().

void PerlSupportPart::removedFilesFromProject const QStringList fileList  )  [private, slot]
 

Definition at line 149 of file perlsupportpart.cpp.

References kdDebug(), KDevPlugin::project(), KDevProject::projectDirectory(), removeWithReference(), and KDevLanguageSupport::updatedSourceInfo().

Referenced by projectOpened().

void PerlSupportPart::removeWithReference const QString fileName  )  [private]
 

Definition at line 298 of file perlsupportpart.cpp.

References KDevLanguageSupport::aboutToRemoveSourceInfo(), KDevPlugin::codeModel(), CodeModel::hasFile(), kdDebug(), and CodeModel::removeFile().

Referenced by maybeParse(), and removedFilesFromProject().

void PerlSupportPart::savedFile const KURL fileName  )  [private, slot]
 

Definition at line 162 of file perlsupportpart.cpp.

References KDevProject::allFiles(), kdDebug(), Structure::length(), maybeParse(), KURL::path(), KDevPlugin::project(), and KDevLanguageSupport::updatedSourceInfo().

void PerlSupportPart::slotExecute  )  [private, slot]
 

Definition at line 199 of file perlsupportpart.cpp.

References interpreter(), KDevProject::mainProgram(), KDevPlugin::project(), and startApplication().

void PerlSupportPart::slotExecuteString  )  [private, slot]
 

Definition at line 213 of file perlsupportpart.cpp.

References KInputDialog::getText(), and startApplication().

void PerlSupportPart::slotPerldocFAQ  )  [private, slot]
 

Definition at line 237 of file perlsupportpart.cpp.

References KInputDialog::getText(), KDevPlugin::partController(), and KDevPartController::showDocument().

void PerlSupportPart::slotPerldocFunction  )  [private, slot]
 

Definition at line 225 of file perlsupportpart.cpp.

References KInputDialog::getText(), KDevPlugin::partController(), and KDevPartController::showDocument().

void PerlSupportPart::slotStartInterpreter  )  [private, slot]
 

Definition at line 207 of file perlsupportpart.cpp.

References interpreter(), and startApplication().

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

Definition at line 192 of file perlsupportpart.cpp.

References KDevPlugin::appFrontend(), KDevPlugin::projectDom(), DomUtil::readBoolEntry(), and KDevAppFrontend::startAppCommand().

Referenced by slotExecute(), slotExecuteString(), and slotStartInterpreter().


Member Data Documentation

perlparser* PerlSupportPart::m_parser [private]
 

Definition at line 55 of file perlsupportpart.h.

Referenced by initialParse(), maybeParse(), parseUseFiles(), and ~PerlSupportPart().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:28:07 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003