KDevelop API Documentation

ToolsConfig Class Reference

#include <toolsconfig.h>

Inheritance diagram for ToolsConfig:

Inheritance graph
[legend]
Collaboration diagram for ToolsConfig:

Collaboration graph
[legend]
List of all members.

Public Slots

void accept ()

Public Member Functions

 ToolsConfig (QWidget *parent=0, const char *name=0)

Protected Member Functions

void showEvent (QShowEvent *)
void fill ()
void add (const QString &desktopFile)
void remove (const QString &desktopFile)

Private Slots

void checkButtons ()
void toList ()
void toTree ()
void updateList ()

Private Attributes

KDevApplicationTree_tree
QListBox_list
QPushButton_toList
QPushButton_toTree
QPtrList< Entry_entries

Constructor & Destructor Documentation

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

Definition at line 20 of file toolsconfig.cpp.

References _entries.


Member Function Documentation

void ToolsConfig::accept  )  [slot]
 

Definition at line 139 of file toolsconfig.cpp.

References _entries, KConfigBase::setGroup(), KConfigBase::sync(), and KConfigBase::writeEntry().

void ToolsConfig::add const QString desktopFile  )  [protected]
 

Definition at line 101 of file toolsconfig.cpp.

References _entries, checkButtons(), Entry::desktopFile, Entry::icon, Entry::name, KDesktopFile::readIcon(), KDesktopFile::readName(), and updateList().

Referenced by fill(), and toList().

void ToolsConfig::checkButtons  )  [private, slot]
 

Definition at line 80 of file toolsconfig.cpp.

References _list, _toList, _toTree, and _tree.

Referenced by add(), showEvent(), toList(), and toTree().

void ToolsConfig::fill  )  [protected]
 

Definition at line 87 of file toolsconfig.cpp.

References _entries, add(), KConfigBase::readListEntry(), and KConfigBase::setGroup().

Referenced by showEvent().

void ToolsConfig::remove const QString desktopFile  )  [protected]
 

void ToolsConfig::showEvent QShowEvent  )  [protected]
 

Definition at line 27 of file toolsconfig.cpp.

References _list, _toList, _toTree, _tree, checkButtons(), fill(), toList(), and toTree().

void ToolsConfig::toList  )  [private, slot]
 

Definition at line 122 of file toolsconfig.cpp.

References _tree, add(), checkButtons(), and KDevAppTreeListItem::desktopEntryPath().

Referenced by showEvent().

void ToolsConfig::toTree  )  [private, slot]
 

Definition at line 131 of file toolsconfig.cpp.

References _entries, _list, checkButtons(), and updateList().

Referenced by showEvent().

void ToolsConfig::updateList  )  [private, slot]
 

Definition at line 154 of file toolsconfig.cpp.

References _entries, and _list.

Referenced by add(), and toTree().


Member Data Documentation

QPtrList<Entry> ToolsConfig::_entries [private]
 

Definition at line 66 of file toolsconfig.h.

Referenced by accept(), add(), fill(), ToolsConfig(), toTree(), and updateList().

QListBox* ToolsConfig::_list [private]
 

Definition at line 63 of file toolsconfig.h.

Referenced by checkButtons(), showEvent(), toTree(), and updateList().

QPushButton* ToolsConfig::_toList [private]
 

Definition at line 64 of file toolsconfig.h.

Referenced by checkButtons(), and showEvent().

QPushButton * ToolsConfig::_toTree [private]
 

Definition at line 64 of file toolsconfig.h.

Referenced by checkButtons(), and showEvent().

KDevApplicationTree* ToolsConfig::_tree [private]
 

Definition at line 62 of file toolsconfig.h.

Referenced by checkButtons(), showEvent(), and toList().


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