libkdepim
KPrefsWidColor Class Reference
Widgets for color settings in KPrefsDialog. More...
#include <kprefsdialog.h>
Inheritance diagram for KPrefsWidColor:

Public Member Functions | |
KPrefsWidColor (KConfigSkeleton::ItemColor *item, TQWidget *parent) | |
~KPrefsWidColor () | |
TQLabel * | label () |
KColorButton * | button () |
void | readConfig () |
void | writeConfig () |
Detailed Description
Widgets for color settings in KPrefsDialog.This class provides a control element for configuring color values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.
Definition at line 278 of file kprefsdialog.h.
Constructor & Destructor Documentation
KPrefsWidColor::KPrefsWidColor | ( | KConfigSkeleton::ItemColor * | item, | |
TQWidget * | parent | |||
) |
Create a color value control element consisting of a test field and a button for opening a color dialog.
- Parameters:
-
item The KConfigSkeletonItem representing the preferences entry. parent Parent widget.
Definition at line 185 of file kprefsdialog.cpp.
KPrefsWidColor::~KPrefsWidColor | ( | ) |
Member Function Documentation
TQLabel * KPrefsWidColor::label | ( | ) |
KColorButton * KPrefsWidColor::button | ( | ) |
void KPrefsWidColor::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 204 of file kprefsdialog.cpp.
void KPrefsWidColor::writeConfig | ( | ) | [virtual] |
This function is called to write the current setting of the widget to the stored configuration.
Implements KPrefsWid.
Definition at line 209 of file kprefsdialog.cpp.
The documentation for this class was generated from the following files: