KPrefsWidString Class Reference
Widget for string settings in KPrefsDialog. More...
#include <kprefsdialog.h>
Inheritance diagram for KPrefsWidString:

Public Member Functions | |
KPrefsWidString (const QString &text, QString *reference, QWidget *parent, QLineEdit::EchoMode echomode=QLineEdit::Normal) | |
Create a string widget consisting of a test label and a line edit. | |
virtual | ~KPrefsWidString () |
Destructor. | |
QLabel * | label () |
Return label used by this widget. | |
QLineEdit * | lineEdit () |
Return QLineEdit used by this widget. | |
void | readConfig () |
This function is called to read value of the setting from the stored configuration and display it in the widget. | |
void | writeConfig () |
This function is called to write the current setting of the widget to the stored configuration. |
Detailed Description
Widget for string settings in KPrefsDialog.This class provides a widget for configuring string values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.
Definition at line 280 of file kprefsdialog.h.
Constructor & Destructor Documentation
|
Create a string widget consisting of a test label and a line edit.
Definition at line 234 of file kprefsdialog.cpp. References QLineEdit::setEchoMode(). |
|
Destructor.
Definition at line 244 of file kprefsdialog.cpp. |
Member Function Documentation
|
Return label used by this widget.
Definition at line 258 of file kprefsdialog.cpp. |
|
Return QLineEdit used by this widget.
Definition at line 263 of file kprefsdialog.cpp. |
|
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 248 of file kprefsdialog.cpp. References QLineEdit::setText(). |
|
This function is called to write the current setting of the widget to the stored configuration.
Implements KPrefsWid. Definition at line 253 of file kprefsdialog.cpp. References QLineEdit::text(). |
The documentation for this class was generated from the following files: