KDevelop API Documentation

AdaGlobalOptionsDlg Class Reference

#include <adaglobaloptionsdlg.h>

Inheritance diagram for AdaGlobalOptionsDlg:

Inheritance graph
[legend]
Collaboration diagram for AdaGlobalOptionsDlg:

Collaboration graph
[legend]
List of all members.

Public Slots

virtual void accept ()

Public Member Functions

 AdaGlobalOptionsDlg (AdaProjectPart *part, QWidget *parent=0, const char *name=0, WFlags fl=0)
 ~AdaGlobalOptionsDlg ()

Protected Slots

virtual void optionsButtonClicked ()
virtual void compiler_box_activated (const QString &text)

Private Member Functions

void saveCompilerOpts (QString compiler)
void readCompilerOpts (QString compiler)
void readConfigCache ()
void saveConfigCache ()

Private Attributes

AdaProjectPartm_part
KTrader::OfferList offers
QString currentCompiler
QStringList service_names
QStringList service_execs
QMap< QString, QStringconfigCache

Constructor & Destructor Documentation

AdaGlobalOptionsDlg::AdaGlobalOptionsDlg AdaProjectPart part,
QWidget parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 25 of file adaglobaloptionsdlg.cpp.

References compiler_box_activated(), currentCompiler, ServiceComboBox::insertStringList(), offers, service_execs, service_names, and ServiceComboBox::setCurrentText().

AdaGlobalOptionsDlg::~AdaGlobalOptionsDlg  ) 
 

Definition at line 58 of file adaglobaloptionsdlg.cpp.


Member Function Documentation

void AdaGlobalOptionsDlg::accept  )  [virtual, slot]
 

Definition at line 85 of file adaglobaloptionsdlg.cpp.

References currentCompiler, saveCompilerOpts(), and saveConfigCache().

void AdaGlobalOptionsDlg::compiler_box_activated const QString text  )  [protected, virtual, slot]
 

Reimplemented from AdaProjectOptionsDlgBase.

Definition at line 74 of file adaglobaloptionsdlg.cpp.

References currentCompiler, kdDebug(), readCompilerOpts(), saveCompilerOpts(), and text().

Referenced by AdaGlobalOptionsDlg().

void AdaGlobalOptionsDlg::optionsButtonClicked  )  [protected, virtual, slot]
 

Reimplemented from AdaProjectOptionsDlgBase.

Definition at line 62 of file adaglobaloptionsdlg.cpp.

References AdaProjectPart::createCompilerOptions(), ServiceComboBox::currentText(), KDevCompilerOptions::exec(), m_part, and service_names.

void AdaGlobalOptionsDlg::readCompilerOpts QString  compiler  )  [private]
 

Definition at line 97 of file adaglobaloptionsdlg.cpp.

References KGlobal::config(), configCache, KConfigBase::readPathEntry(), and KConfigBase::setGroup().

Referenced by compiler_box_activated().

void AdaGlobalOptionsDlg::readConfigCache  )  [private]
 

Definition at line 110 of file adaglobaloptionsdlg.cpp.

void AdaGlobalOptionsDlg::saveCompilerOpts QString  compiler  )  [private]
 

Definition at line 92 of file adaglobaloptionsdlg.cpp.

References configCache.

Referenced by accept(), and compiler_box_activated().

void AdaGlobalOptionsDlg::saveConfigCache  )  [private]
 

Definition at line 119 of file adaglobaloptionsdlg.cpp.

References KGlobal::config(), configCache, KConfigBase::setGroup(), and KConfigBase::writeEntry().

Referenced by accept().


Member Data Documentation

QMap<QString, QString> AdaGlobalOptionsDlg::configCache [private]
 

Definition at line 42 of file adaglobaloptionsdlg.h.

Referenced by readCompilerOpts(), saveCompilerOpts(), and saveConfigCache().

QString AdaGlobalOptionsDlg::currentCompiler [private]
 

Definition at line 39 of file adaglobaloptionsdlg.h.

Referenced by accept(), AdaGlobalOptionsDlg(), and compiler_box_activated().

AdaProjectPart* AdaGlobalOptionsDlg::m_part [private]
 

Definition at line 37 of file adaglobaloptionsdlg.h.

Referenced by optionsButtonClicked().

KTrader::OfferList AdaGlobalOptionsDlg::offers [private]
 

Definition at line 38 of file adaglobaloptionsdlg.h.

Referenced by AdaGlobalOptionsDlg().

QStringList AdaGlobalOptionsDlg::service_execs [private]
 

Definition at line 41 of file adaglobaloptionsdlg.h.

Referenced by AdaGlobalOptionsDlg().

QStringList AdaGlobalOptionsDlg::service_names [private]
 

Definition at line 40 of file adaglobaloptionsdlg.h.

Referenced by AdaGlobalOptionsDlg(), and optionsButtonClicked().


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