KDE PIM / Developers / API Docs / libkdepim

KPrefsWidString Class Reference

Widgets for string settings in KPrefsDialog. More...

#include <kprefsdialog.h>

Inherits KPrefsWid.

List of all members.

Public Member Functions


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.


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.

KPrefsWidString::~KPrefsWidString  )  [virtual]
 

Destructor.


Member Function Documentation

QLabel * KPrefsWidString::label  ) 
 

Return QLabel used by this widget.

QLineEdit * KPrefsWidString::lineEdit  ) 
 

Return QLineEdit used by this widget.

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.

void KPrefsWidString::writeConfig  )  [virtual]
 

This function is called to write the current setting of the widget to the stored configuration.

Implements KPrefsWid.

QValueList< QWidget * > KPrefsWidString::widgets  )  const [virtual]
 

Return a list of widgets used by this control element.

Reimplemented from KPrefsWid.


The documentation for this class was generated from the following files: