KDevelop API Documentation

PHPConfigData Class Reference

#include <phpconfigdata.h>

Inheritance diagram for PHPConfigData:

Inheritance graph
[legend]
Collaboration diagram for PHPConfigData:

Collaboration graph
[legend]
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().

enum PHPConfigData::WebFileMode
 

Enumeration values:
Current 
Default 

Definition at line 36 of file phpconfigdata.h.

Referenced by getWebFileMode().


Constructor & Destructor Documentation

PHPConfigData::PHPConfigData QDomDocument document  ) 
 

Definition at line 22 of file phpconfigdata.cpp.

References document, invocationMode, m_codeCompletion, m_codeHinting, m_realtimeParsing, phpExePath, DomUtil::readBoolEntry(), DomUtil::readEntry(), DomUtil::readIntEntry(), webDefaultFile, webFileMode, and webURL.

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.

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

bool PHPConfigData::getCodeHinting  )  [inline]
 

Definition at line 95 of file phpconfigdata.h.

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

InvocationMode PHPConfigData::getInvocationMode  )  [inline]
 

Definition at line 50 of file phpconfigdata.h.

References InvocationMode.

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

QString PHPConfigData::getPHPExecPath  )  [inline]
 

Definition at line 78 of file phpconfigdata.h.

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

bool PHPConfigData::getRealtimeParsing  )  [inline]
 

Definition at line 101 of file phpconfigdata.h.

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

QString PHPConfigData::getWebDefaultFile  )  [inline]
 

Definition at line 64 of file phpconfigdata.h.

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

WebFileMode PHPConfigData::getWebFileMode  )  [inline]
 

Definition at line 58 of file phpconfigdata.h.

References WebFileMode.

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

QString PHPConfigData::getWebURL  )  [inline]
 

Definition at line 61 of file phpconfigdata.h.

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

void PHPConfigData::setCodeCompletion bool  enable  )  [inline]
 

Definition at line 86 of file phpconfigdata.h.

References m_codeCompletion.

Referenced by PHPConfigParserWidget::accept().

void PHPConfigData::setCodeHinting bool  enable  )  [inline]
 

Definition at line 92 of file phpconfigdata.h.

References m_codeHinting.

Referenced by PHPConfigParserWidget::accept().

void PHPConfigData::setInvocationMode InvocationMode  mode  )  [inline]
 

Definition at line 53 of file phpconfigdata.h.

References invocationMode.

Referenced by PHPConfigWidget::accept().

void PHPConfigData::setPHPExePath QString  path  )  [inline]
 

Definition at line 81 of file phpconfigdata.h.

References phpExePath.

Referenced by PHPConfigWidget::accept().

void PHPConfigData::setRealtimeParsing bool  enable  )  [inline]
 

Definition at line 98 of file phpconfigdata.h.

References m_realtimeParsing.

Referenced by PHPConfigParserWidget::accept().

void PHPConfigData::setWebDefaultFile QString  defaultFile  )  [inline]
 

Definition at line 73 of file phpconfigdata.h.

References webDefaultFile.

Referenced by PHPConfigWidget::accept().

void PHPConfigData::setWebFileMode WebFileMode  mode  )  [inline]
 

Definition at line 67 of file phpconfigdata.h.

References webFileMode.

Referenced by PHPConfigWidget::accept().

void PHPConfigData::setWebURL QString  weburl  )  [inline]
 

Definition at line 70 of file phpconfigdata.h.

References webURL.

Referenced by PHPConfigWidget::accept().

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, webURL, DomUtil::writeBoolEntry(), DomUtil::writeEntry(), and DomUtil::writeIntEntry().

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 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 PHPConfigData(), setInvocationMode(), storeConfig(), and validateConfig().

bool PHPConfigData::m_codeCompletion [private]
 

Definition at line 118 of file phpconfigdata.h.

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

bool PHPConfigData::m_codeHinting [private]
 

Definition at line 119 of file phpconfigdata.h.

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

bool PHPConfigData::m_realtimeParsing [private]
 

Definition at line 120 of file phpconfigdata.h.

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

QString PHPConfigData::phpExePath [private]
 

Definition at line 115 of file phpconfigdata.h.

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

QString PHPConfigData::webDefaultFile [private]
 

Definition at line 112 of file phpconfigdata.h.

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

WebFileMode PHPConfigData::webFileMode [private]
 

Definition at line 110 of file phpconfigdata.h.

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

QString PHPConfigData::webURL [private]
 

Definition at line 111 of file phpconfigdata.h.

Referenced by 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.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:45:37 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003