KDevelop API Documentation

PHPConfigData Class Reference

#include <phpconfigdata.h>

Inheritance diagram for PHPConfigData:

QObject List of all members.

Public Types

enum  InvocationMode { Web = 1, Shell = 2 }
enum  WebFileMode { Current = 1, Default = 2 }

Signals

void configStored ()

Public Member Functions

 PHPConfigData (QDomDocument *document)
 ~PHPConfigData ()
bool validateConfig ()
 returns true if the configuration is ok, false if something is missing

void storeConfig ()
 write the configuration to the DOM document(project file)

InvocationMode getInvocationMode ()
void setInvocationMode (InvocationMode mode)
WebFileMode getWebFileMode ()
QString getWebURL ()
QString getWebDefaultFile ()
void setWebFileMode (WebFileMode mode)
void setWebURL (QString weburl)
void setWebDefaultFile (QString defaultFile)
QString getPHPExecPath ()
void setPHPExePath (QString path)
void setCodeCompletion (bool enable)
bool getCodeCompletion ()
void setCodeHinting (bool enable)
bool getCodeHinting ()
void setRealtimeParsing (bool enable)
bool getRealtimeParsing ()

Private Attributes

QDomDocumentdocument
InvocationMode invocationMode
WebFileMode webFileMode
QString webURL
QString webDefaultFile
QString phpExePath
bool m_codeCompletion
bool m_codeHinting
bool m_realtimeParsing

Detailed Description

Author:
Sandy Meier

Definition at line 27 of file phpconfigdata.h.


Member Enumeration Documentation

enum PHPConfigData::InvocationMode
 

Enumeration values:
Web 
Shell 

Definition at line 35 of file phpconfigdata.h.

Referenced by getInvocationMode(), and PHPConfigData().

enum PHPConfigData::WebFileMode
 

Enumeration values:
Current 
Default 

Definition at line 36 of file phpconfigdata.h.

Referenced by getWebFileMode(), and PHPConfigData().


Constructor & Destructor Documentation

PHPConfigData::PHPConfigData QDomDocument document  ) 
 

Definition at line 22 of file phpconfigdata.cpp.

References document, InvocationMode, invocationMode, m_codeCompletion, m_codeHinting, m_realtimeParsing, PHPConfigData(), phpExePath, webDefaultFile, WebFileMode, webFileMode, and webURL.

Referenced by PHPConfigData().

PHPConfigData::~PHPConfigData  ) 
 

Definition at line 39 of file phpconfigdata.cpp.


Member Function Documentation

void PHPConfigData::configStored  )  [signal]
 

Referenced by storeConfig().

bool PHPConfigData::getCodeCompletion  )  [inline]
 

Definition at line 89 of file phpconfigdata.h.

References m_codeCompletion.

Referenced by PHPCodeCompletion::cursorPositionChanged(), PHPConfigParserWidget::PHPConfigParserWidget(), and PHPCodeCompletion::setActiveEditorPart().

bool PHPConfigData::getCodeHinting  )  [inline]
 

Definition at line 95 of file phpconfigdata.h.

References m_codeHinting.

Referenced by PHPCodeCompletion::cursorPositionChanged(), PHPConfigParserWidget::PHPConfigParserWidget(), and PHPCodeCompletion::setActiveEditorPart().

InvocationMode PHPConfigData::getInvocationMode  )  [inline]
 

Definition at line 50 of file phpconfigdata.h.

References invocationMode, and InvocationMode.

Referenced by PHPConfigWidget::PHPConfigWidget(), and PHPSupportPart::slotRun().

QString PHPConfigData::getPHPExecPath  )  [inline]
 

Definition at line 78 of file phpconfigdata.h.

References phpExePath.

Referenced by PHPSupportPart::executeInTerminal(), and PHPConfigWidget::PHPConfigWidget().

bool PHPConfigData::getRealtimeParsing  )  [inline]
 

Definition at line 101 of file phpconfigdata.h.

References m_realtimeParsing.

Referenced by PHPConfigParserWidget::PHPConfigParserWidget(), and PHPSupportPart::slotActivePartChanged().

QString PHPConfigData::getWebDefaultFile  )  [inline]
 

Definition at line 64 of file phpconfigdata.h.

References webDefaultFile.

Referenced by PHPSupportPart::executeOnWebserver(), and PHPConfigWidget::PHPConfigWidget().

WebFileMode PHPConfigData::getWebFileMode  )  [inline]
 

Definition at line 58 of file phpconfigdata.h.

References webFileMode, and WebFileMode.

Referenced by PHPSupportPart::executeOnWebserver(), and PHPConfigWidget::PHPConfigWidget().

QString PHPConfigData::getWebURL  )  [inline]
 

Definition at line 61 of file phpconfigdata.h.

References webURL.

Referenced by PHPSupportPart::executeOnWebserver(), and PHPConfigWidget::PHPConfigWidget().

void PHPConfigData::setCodeCompletion bool  enable  )  [inline]
 

Definition at line 86 of file phpconfigdata.h.

References m_codeCompletion, and setCodeCompletion().

Referenced by PHPConfigParserWidget::accept(), and setCodeCompletion().

void PHPConfigData::setCodeHinting bool  enable  )  [inline]
 

Definition at line 92 of file phpconfigdata.h.

References m_codeHinting, and setCodeHinting().

Referenced by PHPConfigParserWidget::accept(), and setCodeHinting().

void PHPConfigData::setInvocationMode InvocationMode  mode  )  [inline]
 

Definition at line 53 of file phpconfigdata.h.

References invocationMode, and setInvocationMode().

Referenced by PHPConfigWidget::accept(), and setInvocationMode().

void PHPConfigData::setPHPExePath QString  path  )  [inline]
 

Definition at line 81 of file phpconfigdata.h.

References phpExePath, and setPHPExePath().

Referenced by PHPConfigWidget::accept(), and setPHPExePath().

void PHPConfigData::setRealtimeParsing bool  enable  )  [inline]
 

Definition at line 98 of file phpconfigdata.h.

References m_realtimeParsing, and setRealtimeParsing().

Referenced by PHPConfigParserWidget::accept(), and setRealtimeParsing().

void PHPConfigData::setWebDefaultFile QString  defaultFile  )  [inline]
 

Definition at line 73 of file phpconfigdata.h.

References setWebDefaultFile(), and webDefaultFile.

Referenced by PHPConfigWidget::accept(), and setWebDefaultFile().

void PHPConfigData::setWebFileMode WebFileMode  mode  )  [inline]
 

Definition at line 67 of file phpconfigdata.h.

References setWebFileMode(), and webFileMode.

Referenced by PHPConfigWidget::accept(), and setWebFileMode().

void PHPConfigData::setWebURL QString  weburl  )  [inline]
 

Definition at line 70 of file phpconfigdata.h.

References setWebURL(), and webURL.

Referenced by PHPConfigWidget::accept(), and setWebURL().

void PHPConfigData::storeConfig  ) 
 

write the configuration to the DOM document(project file)

Definition at line 42 of file phpconfigdata.cpp.

References configStored(), document, invocationMode, m_codeCompletion, m_codeHinting, m_realtimeParsing, phpExePath, webDefaultFile, webFileMode, and webURL.

Referenced by PHPConfigWidget::accept(), and PHPConfigParserWidget::accept().

bool PHPConfigData::validateConfig  ) 
 

returns true if the configuration is ok, false if something is missing

Definition at line 57 of file phpconfigdata.cpp.

References Current, Default, invocationMode, phpExePath, Web, webFileMode, and webURL.

Referenced by PHPSupportPart::validateConfig().


Member Data Documentation

QDomDocument* PHPConfigData::document [private]
 

Definition at line 107 of file phpconfigdata.h.

Referenced by PHPConfigData(), and storeConfig().

InvocationMode PHPConfigData::invocationMode [private]
 

Definition at line 108 of file phpconfigdata.h.

Referenced by getInvocationMode(), PHPConfigData(), setInvocationMode(), storeConfig(), and validateConfig().

bool PHPConfigData::m_codeCompletion [private]
 

Definition at line 118 of file phpconfigdata.h.

Referenced by getCodeCompletion(), PHPConfigData(), setCodeCompletion(), and storeConfig().

bool PHPConfigData::m_codeHinting [private]
 

Definition at line 119 of file phpconfigdata.h.

Referenced by getCodeHinting(), PHPConfigData(), setCodeHinting(), and storeConfig().

bool PHPConfigData::m_realtimeParsing [private]
 

Definition at line 120 of file phpconfigdata.h.

Referenced by getRealtimeParsing(), PHPConfigData(), setRealtimeParsing(), and storeConfig().

QString PHPConfigData::phpExePath [private]
 

Definition at line 115 of file phpconfigdata.h.

Referenced by getPHPExecPath(), PHPConfigData(), setPHPExePath(), storeConfig(), and validateConfig().

QString PHPConfigData::webDefaultFile [private]
 

Definition at line 112 of file phpconfigdata.h.

Referenced by getWebDefaultFile(), PHPConfigData(), setWebDefaultFile(), and storeConfig().

WebFileMode PHPConfigData::webFileMode [private]
 

Definition at line 110 of file phpconfigdata.h.

Referenced by getWebFileMode(), PHPConfigData(), setWebFileMode(), storeConfig(), and validateConfig().

QString PHPConfigData::webURL [private]
 

Definition at line 111 of file phpconfigdata.h.

Referenced by getWebURL(), PHPConfigData(), setWebURL(), storeConfig(), and validateConfig().


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 Wed Oct 6 17:39:28 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003