libtdepim

KPrefsWidString Class Reference

#include <kprefsdialog.h>

Inheritance diagram for KPrefsWidString:
KPrefsWid

Public Member Functions

 KPrefsWidString (TDEConfigSkeleton::ItemString *item, TQWidget *parent, TQLineEdit::EchoMode echomode=TQLineEdit::Normal)
 
virtual ~KPrefsWidString ()
 
TQLabel * label ()
 
TQLineEdit * lineEdit ()
 
void readConfig ()
 
void writeConfig ()
 
TQValueList< TQWidget * > widgets () const
 

Additional Inherited Members

- Signals inherited from KPrefsWid
void changed ()
 

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 461 of file kprefsdialog.h.

Constructor & Destructor Documentation

◆ KPrefsWidString()

KPrefsWidString::KPrefsWidString ( TDEConfigSkeleton::ItemString *  item,
TQWidget *  parent,
TQLineEdit::EchoMode  echomode = TQLineEdit::Normal 
)

Create a string value control element consisting of a test label and a line edit.

Parameters
itemThe TDEConfigSkeletonItem representing the preferences entry.
parentParent widget.
echomodeDescribes how a line edit should display its contents.

Definition at line 478 of file kprefsdialog.cpp.

◆ ~KPrefsWidString()

KPrefsWidString::~KPrefsWidString ( )
virtual

Destructor.

Definition at line 495 of file kprefsdialog.cpp.

Member Function Documentation

◆ label()

TQLabel * KPrefsWidString::label ( )

Return TQLabel used by this widget.

Definition at line 509 of file kprefsdialog.cpp.

◆ lineEdit()

TQLineEdit * KPrefsWidString::lineEdit ( )

Return TQLineEdit used by this widget.

Definition at line 514 of file kprefsdialog.cpp.

◆ readConfig()

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 499 of file kprefsdialog.cpp.

◆ widgets()

TQValueList< TQWidget * > KPrefsWidString::widgets ( ) const
virtual

Return a list of widgets used by this control element.

Reimplemented from KPrefsWid.

Definition at line 519 of file kprefsdialog.cpp.

◆ writeConfig()

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 504 of file kprefsdialog.cpp.


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