KDevelop API Documentation

EnvironmentVariablesWidget Class Reference

#include <environmentvariableswidget.h>

Inheritance diagram for EnvironmentVariablesWidget:

EnvironmentVariablesWidgetBase QWidget 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(), EnvironmentVariablesWidget(), and readEnvironment().

Referenced by EnvironmentVariablesWidget().

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, and DomUtil::Pair.

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

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 changeConfigGroup(), and m_configGroup.

Referenced by changeConfigGroup(), and 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 readEnvironment().

Referenced by CustomMakeConfigWidget::envChanged(), EnvironmentVariablesWidget(), and readEnvironment().

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.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:02 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003