libtdepim

KPrefsWidPath Class Reference

Widgets for string settings in KPrefsDialog. More...

#include <kprefsdialog.h>

Inheritance diagram for KPrefsWidPath:
KPrefsWid

List of all members.

Public Member Functions

 KPrefsWidPath (TDEConfigSkeleton::ItemPath *item, TQWidget *parent, const TQString &filter=TQString(), uint mode=KFile::File)
virtual ~KPrefsWidPath ()
TQLabel * label ()
KURLRequester * urlRequester ()
void readConfig ()
void writeConfig ()
TQValueList< TQWidget * > widgets () const

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


Constructor & Destructor Documentation

KPrefsWidPath::KPrefsWidPath ( TDEConfigSkeleton::ItemPath *  item,
TQWidget *  parent,
const TQString &  filter = TQString(),
uint  mode = KFile::File 
)

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

Parameters:
item The TDEConfigSkeletonItem representing the preferences entry.
parent Parent widget.
filter URLRequester filter
mode Describes how a line edit should display its contents.

Definition at line 528 of file kprefsdialog.cpp.

KPrefsWidPath::~KPrefsWidPath (  )  [virtual]

Destructor.

Definition at line 545 of file kprefsdialog.cpp.


Member Function Documentation

TQLabel * KPrefsWidPath::label (  ) 

Return TQLabel used by this widget.

Definition at line 559 of file kprefsdialog.cpp.

void KPrefsWidPath::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 549 of file kprefsdialog.cpp.

KURLRequester * KPrefsWidPath::urlRequester (  ) 

Return TQLineEdit used by this widget.

Definition at line 564 of file kprefsdialog.cpp.

TQValueList< TQWidget * > KPrefsWidPath::widgets (  )  const [virtual]

Return a list of widgets used by this control element.

Reimplemented from KPrefsWid.

Definition at line 569 of file kprefsdialog.cpp.

void KPrefsWidPath::writeConfig (  )  [virtual]

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

Implements KPrefsWid.

Definition at line 554 of file kprefsdialog.cpp.


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