libkdepim

KPrefsWidPath Class Reference

#include <kprefsdialog.h>

Inheritance diagram for KPrefsWidPath:

KPrefsWid List of all members.

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


Public Member Functions

 KPrefsWidPath (KConfigSkeleton::ItemPath *item, QWidget *parent, const QString &filter=QString::null, uint mode=KFile::File)
virtual ~KPrefsWidPath ()
QLabel * label ()
KURLRequester * urlRequester ()
void readConfig ()
void writeConfig ()
QValueList< QWidget * > widgets () const

Constructor & Destructor Documentation

KPrefsWidPath::KPrefsWidPath ( KConfigSkeleton::ItemPath *  item,
QWidget *  parent,
const QString &  filter = QString::null,
uint  mode = KFile::File 
)

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.
filter URLRequester filter
mode Describes how a line edit should display its contents.

Definition at line 493 of file kprefsdialog.cpp.

KPrefsWidPath::~KPrefsWidPath (  )  [virtual]

Destructor.

Definition at line 510 of file kprefsdialog.cpp.


Member Function Documentation

QLabel * KPrefsWidPath::label (  ) 

Return QLabel used by this widget.

Definition at line 524 of file kprefsdialog.cpp.

KURLRequester * KPrefsWidPath::urlRequester (  ) 

Return QLineEdit used by this widget.

Definition at line 529 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 514 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 519 of file kprefsdialog.cpp.

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

Return a list of widgets used by this control element.

Reimplemented from KPrefsWid.

Definition at line 534 of file kprefsdialog.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys