KDE PIM / Developers / API Docs / libkdepim

KPrefsWidInt Class Reference

Widgets for int settings in KPrefsDialog. More...

#include <kprefsdialog.h>

Inherits KPrefsWid.

List of all members.

Public Member Functions


Detailed Description

Widgets for int settings in KPrefsDialog.

This class provides a control element for configuring integer values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.


Constructor & Destructor Documentation

KPrefsWidInt::KPrefsWidInt KConfigSkeleton::ItemInt *  item,
QWidget *  parent
 

Create a integer value control element consisting of a label and a spinbox.

Parameters:
item The KConfigSkeletonItem representing the preferences entry.
parent Parent widget.

Member Function Documentation

QLabel * KPrefsWidInt::label  ) 
 

Return QLabel used by this control element.

QSpinBox * KPrefsWidInt::spinBox  ) 
 

Return the QSpinBox used by this control element.

void KPrefsWidInt::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 KPrefsWidInt::writeConfig  )  [virtual]
 

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

Implements KPrefsWid.

QValueList< QWidget * > KPrefsWidInt::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: