KPropCheck Class Reference

[kpropdlg Index] [kpropdlg Hierarchy] [Headers]


This class provides a checkbox with a label More...

#include <../kpropcheck.h>

Inherits: QCheckBox

Public Members

Public Slots

Protected Members


Detailed Description

This class provides a checkbox with a label. The widget is resized to fit the font.


KPropCheck( QWidget *parent, const char *text, const char *key=0, const char *group=0, KConfig *config=0 , const char *name=0 ) [public]

Constructor. 'text' is the text of the label.

~KPropCheck() [public virtual]

Destructor.

void setState( bool state) [public]

Sets the state of the checkbox.

bool getState() [public]

Get the state of the checkbox.

void setGroup( const char *group ) [public]

set the group to modify

const char* getGroup() [public]

Returns the group to be modified

void setKey( const char * ) [public]

set the key to modify

const char* getKey() [public]

returns the Key to be modified

void setKConfig( KConfig * ) [public]

Set the KConfig object to operate upon.

KConfig* getKConfig() [public]

Returns the current KConfig object

void setConfig() [public slot virtual]

Write the config key value. .

void getConfig() [public slot virtual]

Read the config key value into the widget. .

void fontChange( const QFont &oldfont ) [protected virtual]

This method is called after a font change.It will call sizeUpdate() to resize the widget to contain the new font.

void sizeUpdate() [protected]

Sets the minimum size to fit the font.


Documentation generated by fester@cal040052 on Sat Oct 10 12:30:32 /etc/localtime 1998
Kdoc