libkdepim
KPIM::KPrefsWidCombo Class Reference
#include <kprefsdialog.h>

Detailed Description
Widgets for settings represented by a combo box in KPrefsDialog.This class provides a control element for configuring selections. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.
The setting is interpreted as an int value, corresponding to the index in the combo box.
Definition at line 433 of file kprefsdialog.h.
Public Member Functions | |
| KComboBox * | comboBox () |
| KPrefsWidCombo (KConfigSkeleton::ItemEnum *item, QWidget *parent) | |
| void | readConfig () |
| QList< QWidget * > | widgets () const |
| void | writeConfig () |
| virtual | ~KPrefsWidCombo () |
Constructor & Destructor Documentation
| KPrefsWidCombo::KPrefsWidCombo | ( | KConfigSkeleton::ItemEnum * | item, | |
| QWidget * | parent | |||
| ) | [explicit] |
Create a control element for selection of an option.
It consists of a combo box.
- Parameters:
-
item The KConfigSkeletonItem representing the preferences entry. parent Parent widget.
Definition at line 437 of file kprefsdialog.cpp.
| KPrefsWidCombo::~KPrefsWidCombo | ( | ) | [virtual] |
Definition at line 446 of file kprefsdialog.cpp.
Member Function Documentation
| KComboBox * KPrefsWidCombo::comboBox | ( | ) |
Definition at line 467 of file kprefsdialog.cpp.
| void KPrefsWidCombo::readConfig | ( | ) | [virtual] |
This function is called to read value of the setting from the stored configuration and display it in the widget.
Implements KPIM::KPrefsWid.
Definition at line 450 of file kprefsdialog.cpp.
Return a list of widgets used by this control element.
Reimplemented from KPIM::KPrefsWid.
Definition at line 460 of file kprefsdialog.cpp.
| void KPrefsWidCombo::writeConfig | ( | ) | [virtual] |
This function is called to write the current setting of the widget to the stored configuration.
Implements KPIM::KPrefsWid.
Definition at line 455 of file kprefsdialog.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference