KDevelop API Documentation

PartSelectWidget Class Reference

#include <partselectwidget.h>

Inheritance diagram for PartSelectWidget:

QWidget List of all members.

Public Slots

void accept ()

Signals

void accepted ()

Public Member Functions

 PartSelectWidget (QDomDocument &projectDom, QWidget *parent=0, const char *name=0)
 PartSelectWidget (QWidget *parent=0, const char *name=0)
 ~PartSelectWidget ()

Private Types

enum  Scope { Global, Project }

Private Slots

void itemSelected (QListViewItem *)
void openURL (const QString &)

Private Member Functions

void init ()
void readGlobalConfig ()
void saveGlobalConfig ()
void readProjectConfig ()
void saveProjectConfig ()

Private Attributes

QDomDocument m_projectDom
Scope _scope
QListView_pluginList
QLabel_pluginDescription
KURLLabel_urlLabel

Member Enumeration Documentation

enum PartSelectWidget::Scope [private]
 

Enumeration values:
Global 
Project 

Definition at line 45 of file partselectwidget.h.


Constructor & Destructor Documentation

PartSelectWidget::PartSelectWidget QDomDocument projectDom,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 57 of file partselectwidget.cpp.

References init(), and PartSelectWidget().

Referenced by PartSelectWidget().

PartSelectWidget::PartSelectWidget QWidget parent = 0,
const char *  name = 0
 

Definition at line 65 of file partselectwidget.cpp.

References init(), and PartSelectWidget().

PartSelectWidget::~PartSelectWidget  ) 
 

Definition at line 122 of file partselectwidget.cpp.


Member Function Documentation

void PartSelectWidget::accept  )  [slot]
 

Definition at line 247 of file partselectwidget.cpp.

References _scope, accepted(), Global, saveGlobalConfig(), and saveProjectConfig().

void PartSelectWidget::accepted  )  [signal]
 

Referenced by accept().

void PartSelectWidget::init  )  [private]
 

Definition at line 72 of file partselectwidget.cpp.

References _pluginDescription, _pluginList, _scope, _urlLabel, Global, itemSelected(), openURL(), readGlobalConfig(), readProjectConfig(), and text().

Referenced by PartSelectWidget().

void PartSelectWidget::itemSelected QListViewItem  )  [private, slot]
 

Definition at line 203 of file partselectwidget.cpp.

References _pluginDescription, _urlLabel, PluginItem::info(), itemSelected(), KURLLabel::setURL(), and PluginItem::url().

Referenced by init(), and itemSelected().

void PartSelectWidget::openURL const QString  )  [private, slot]
 

Definition at line 222 of file partselectwidget.cpp.

References openURL().

Referenced by init(), and openURL().

void PartSelectWidget::readGlobalConfig  )  [private]
 

Definition at line 126 of file partselectwidget.cpp.

References _pluginList, config, first(), KConfigBase::readBoolEntry(), and KConfigBase::setGroup().

Referenced by init().

void PartSelectWidget::readProjectConfig  )  [private]
 

Definition at line 173 of file partselectwidget.cpp.

References _pluginList, first(), and m_projectDom.

Referenced by init().

void PartSelectWidget::saveGlobalConfig  )  [private]
 

Definition at line 158 of file partselectwidget.cpp.

References _pluginList, config, PluginItem::name(), KConfigBase::setGroup(), and KConfigBase::writeEntry().

Referenced by accept().

void PartSelectWidget::saveProjectConfig  )  [private]
 

Definition at line 227 of file partselectwidget.cpp.

References _pluginList, endl(), kdDebug(), m_projectDom, and PluginItem::name().

Referenced by accept().


Member Data Documentation

QLabel* PartSelectWidget::_pluginDescription [private]
 

Definition at line 57 of file partselectwidget.h.

Referenced by init(), and itemSelected().

QListView* PartSelectWidget::_pluginList [private]
 

Definition at line 56 of file partselectwidget.h.

Referenced by init(), readGlobalConfig(), readProjectConfig(), saveGlobalConfig(), and saveProjectConfig().

Scope PartSelectWidget::_scope [private]
 

Definition at line 54 of file partselectwidget.h.

Referenced by accept(), and init().

KURLLabel* PartSelectWidget::_urlLabel [private]
 

Definition at line 58 of file partselectwidget.h.

Referenced by init(), and itemSelected().

QDomDocument PartSelectWidget::m_projectDom [private]
 

Definition at line 53 of file partselectwidget.h.

Referenced by readProjectConfig(), and saveProjectConfig().


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