KDevelop API Documentation

EnvironmentVariablesWidget Class Reference

#include <environmentvariableswidget.h>

Inheritance diagram for EnvironmentVariablesWidget:

Inheritance graph
[legend]
Collaboration diagram for EnvironmentVariablesWidget:

Collaboration graph
[legend]
List of all members.

Public Slots

void accept ()

Public Member Functions

 EnvironmentVariablesWidget (QDomDocument &dom, const QString &configGroup, QWidget *parent=0, const char *name=0)
 ~EnvironmentVariablesWidget ()
void readEnvironment (QDomDocument &dom, const QString &configGroup)
 read in a set of environment variables from the DOM document
void changeConfigGroup (const QString &configGroup)
 changes the path in the DOM structure where the environment variables are stored

Private Member Functions

virtual void addVarClicked ()
virtual void removeVarClicked ()
virtual void editVarClicked ()

Private Attributes

QDomDocumentm_dom
QString m_configGroup

Constructor & Destructor Documentation

EnvironmentVariablesWidget::EnvironmentVariablesWidget QDomDocument dom,
const QString configGroup,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 68 of file environmentvariableswidget.cpp.

References editVarClicked(), and readEnvironment().

EnvironmentVariablesWidget::~EnvironmentVariablesWidget  ) 
 

Definition at line 78 of file environmentvariableswidget.cpp.


Member Function Documentation

void EnvironmentVariablesWidget::accept  )  [slot]
 

Definition at line 107 of file environmentvariableswidget.cpp.

References m_configGroup, m_dom, DomUtil::Pair, DomUtil::PairList, and DomUtil::writePairListEntry().

Referenced by RunOptionsWidget::accept(), MakeOptionsWidget::accept(), CustomMakeConfigWidget::accept(), ConfigureOptionsWidget::accept(), CustomMakeConfigWidget::envChanged(), and ConfigureOptionsWidget::saveSettings().

void EnvironmentVariablesWidget::addVarClicked  )  [private, virtual]
 

Reimplemented from EnvironmentVariablesWidgetBase.

Definition at line 31 of file environmentvariableswidget.cpp.

References AddEnvvarDialog::setvalue(), AddEnvvarDialog::setvarname(), AddEnvvarDialog::value(), and AddEnvvarDialog::varname().

void EnvironmentVariablesWidget::changeConfigGroup const QString configGroup  ) 
 

changes the path in the DOM structure where the environment variables are stored

Definition at line 102 of file environmentvariableswidget.cpp.

References m_configGroup.

Referenced by CustomMakeConfigWidget::envCopied().

void EnvironmentVariablesWidget::editVarClicked  )  [private, virtual]
 

Reimplemented from EnvironmentVariablesWidgetBase.

Definition at line 46 of file environmentvariableswidget.cpp.

References AddEnvvarDialog::setvalue(), AddEnvvarDialog::setvarname(), AddEnvvarDialog::value(), and AddEnvvarDialog::varname().

Referenced by EnvironmentVariablesWidget().

void EnvironmentVariablesWidget::readEnvironment QDomDocument dom,
const QString configGroup
 

read in a set of environment variables from the DOM document

Definition at line 81 of file environmentvariableswidget.cpp.

References m_configGroup, m_dom, DomUtil::PairList, and DomUtil::readPairListEntry().

Referenced by CustomMakeConfigWidget::envChanged(), EnvironmentVariablesWidget(), and ConfigureOptionsWidget::readSettings().

void EnvironmentVariablesWidget::removeVarClicked  )  [private, virtual]
 

Reimplemented from EnvironmentVariablesWidgetBase.

Definition at line 62 of file environmentvariableswidget.cpp.


Member Data Documentation

QString EnvironmentVariablesWidget::m_configGroup [private]
 

Definition at line 53 of file environmentvariableswidget.h.

Referenced by accept(), changeConfigGroup(), and readEnvironment().

QDomDocument& EnvironmentVariablesWidget::m_dom [private]
 

Definition at line 52 of file environmentvariableswidget.h.

Referenced by accept(), and readEnvironment().


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:41:49 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003