KDevelop API Documentation

RunOptionsWidget Class Reference

#include <runoptionswidget.h>

Inheritance diagram for RunOptionsWidget:

RunOptionsWidgetBase QWidget List of all members.

Public Slots

void accept ()

Public Member Functions

 RunOptionsWidget (QDomDocument &dom, const QString &configGroup, const QString &buildDirectory, QWidget *parent=0, const char *name=0)
 ~RunOptionsWidget ()

Private Member Functions

virtual void directoryRadioChanged ()
virtual void browseCustomDirectory ()
virtual void browseMainProgram ()

Private Attributes

QDomDocumentm_dom
QString m_configGroup
KURL m_buildDirectory
KURL m_customRunDirectory
KURL m_mainProgramAbsolutePath
EnvironmentVariablesWidgetm_environmentVariablesWidget

Constructor & Destructor Documentation

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

Parameters:
dom  document DOM
configGroup  configuration group
buildDirectory  project build directory
parent  parent widget
name  widget's name

Definition at line 39 of file runoptionswidget.cpp.

References KURL::cleanPath(), KURL::directory(), directoryRadioChanged(), m_buildDirectory, m_customRunDirectory, m_environmentVariablesWidget, m_mainProgramAbsolutePath, KURL::path(), RunOptionsWidget(), and KSqueezedTextLabel::setText().

Referenced by RunOptionsWidget().

RunOptionsWidget::~RunOptionsWidget  ) 
 

Definition at line 99 of file runoptionswidget.cpp.


Member Function Documentation

void RunOptionsWidget::accept  )  [slot]
 

Definition at line 103 of file runoptionswidget.cpp.

References EnvironmentVariablesWidget::accept(), m_configGroup, m_dom, and m_environmentVariablesWidget.

void RunOptionsWidget::browseCustomDirectory  )  [private, virtual]
 

Reimplemented from RunOptionsWidgetBase.

Definition at line 142 of file runoptionswidget.cpp.

References KURL::path(), KDialog::setCaption(), and KDirSelectDialog::url().

void RunOptionsWidget::browseMainProgram  )  [private, virtual]
 

Reimplemented from RunOptionsWidgetBase.

Definition at line 163 of file runoptionswidget.cpp.

References KURL::addPath(), KURL::cleanPath(), KURL::directory(), KURL::filename(), m_buildDirectory, m_mainProgramAbsolutePath, URLUtil::relativePath(), KFileDialog::selectedFile(), KDialog::setCaption(), KFileDialog::setMimeFilter(), KFileDialog::setSelection(), and KFileDialog::setURL().

void RunOptionsWidget::directoryRadioChanged  )  [private, virtual]
 

Reimplemented from RunOptionsWidgetBase.

Definition at line 126 of file runoptionswidget.cpp.

References KURL::directory(), m_buildDirectory, m_mainProgramAbsolutePath, and KURL::path().

Referenced by RunOptionsWidget().


Member Data Documentation

KURL RunOptionsWidget::m_buildDirectory [private]
 

Definition at line 54 of file runoptionswidget.h.

Referenced by browseMainProgram(), directoryRadioChanged(), and RunOptionsWidget().

QString RunOptionsWidget::m_configGroup [private]
 

Definition at line 53 of file runoptionswidget.h.

Referenced by accept().

KURL RunOptionsWidget::m_customRunDirectory [private]
 

Definition at line 55 of file runoptionswidget.h.

Referenced by RunOptionsWidget().

QDomDocument& RunOptionsWidget::m_dom [private]
 

Definition at line 52 of file runoptionswidget.h.

Referenced by accept().

EnvironmentVariablesWidget* RunOptionsWidget::m_environmentVariablesWidget [private]
 

Definition at line 57 of file runoptionswidget.h.

Referenced by accept(), and RunOptionsWidget().

KURL RunOptionsWidget::m_mainProgramAbsolutePath [private]
 

Definition at line 56 of file runoptionswidget.h.

Referenced by browseMainProgram(), directoryRadioChanged(), and RunOptionsWidget().


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:29 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003