libkdepim
KPrefsWidString Class Reference
#include <kprefsdialog.h>
Inheritance diagram for KPrefsWidString:

Detailed Description
Widgets for string settings in KPrefsDialog.This class provides a control element for configuring string values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.
Definition at line 422 of file kprefsdialog.h.
Public Member Functions | |
KPrefsWidString (KConfigSkeleton::ItemString *item, QWidget *parent, QLineEdit::EchoMode echomode=QLineEdit::Normal) | |
virtual | ~KPrefsWidString () |
QLabel * | label () |
QLineEdit * | lineEdit () |
void | readConfig () |
void | writeConfig () |
QValueList< QWidget * > | widgets () const |
Constructor & Destructor Documentation
KPrefsWidString::KPrefsWidString | ( | KConfigSkeleton::ItemString * | item, | |
QWidget * | parent, | |||
QLineEdit::EchoMode | echomode = QLineEdit::Normal | |||
) |
Create a string value control element consisting of a test label and a line edit.
- Parameters:
-
item The KConfigSkeletonItem representing the preferences entry. parent Parent widget. echomode Describes how a line edit should display its contents.
Definition at line 443 of file kprefsdialog.cpp.
KPrefsWidString::~KPrefsWidString | ( | ) | [virtual] |
Member Function Documentation
QLabel * KPrefsWidString::label | ( | ) |
QLineEdit * KPrefsWidString::lineEdit | ( | ) |
void KPrefsWidString::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 464 of file kprefsdialog.cpp.
void KPrefsWidString::writeConfig | ( | ) | [virtual] |
This function is called to write the current setting of the widget to the stored configuration.
Implements KPrefsWid.
Definition at line 469 of file kprefsdialog.cpp.
QValueList< QWidget * > KPrefsWidString::widgets | ( | ) | const [virtual] |
Return a list of widgets used by this control element.
Reimplemented from KPrefsWid.
Definition at line 484 of file kprefsdialog.cpp.
The documentation for this class was generated from the following files: