#include <kprefsdialog.h>
Public Member Functions | |
KPrefsWidCombo (TDEConfigSkeleton::ItemEnum *item, TQWidget *parent) | |
void | readConfig () |
void | writeConfig () |
TQComboBox * | comboBox () |
TQValueList< TQWidget * > | widgets () const |
Additional Inherited Members | |
Signals inherited from KPrefsWid | |
void | changed () |
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 428 of file kprefsdialog.h.
Constructor & Destructor Documentation
◆ KPrefsWidCombo()
KPrefsWidCombo::KPrefsWidCombo | ( | TDEConfigSkeleton::ItemEnum * | item, |
TQWidget * | parent | ||
) |
Create a control element for selection of an option.
It consists of a combo box.
- Parameters
-
item The TDEConfigSkeletonItem representing the preferences entry. parent Parent widget.
Definition at line 442 of file kprefsdialog.cpp.
Member Function Documentation
◆ readConfig()
|
virtual |
This function is called to read value of the setting from the stored configuration and display it in the widget.
Implements KPrefsWid.
Definition at line 456 of file kprefsdialog.cpp.
◆ widgets()
|
virtual |
Return a list of widgets used by this control element.
Reimplemented from KPrefsWid.
Definition at line 466 of file kprefsdialog.cpp.
◆ writeConfig()
|
virtual |
This function is called to write the current setting of the widget to the stored configuration.
Implements KPrefsWid.
Definition at line 461 of file kprefsdialog.cpp.
The documentation for this class was generated from the following files: