#include <kguiutils.h>


Public Slots | |
| void | clear (void) |
| void | changed (void) |
Signals | |
| void | stateChanged (void) |
| void | stateChanged (bool state) |
Public Member Functions | |
| kMandatoryFieldGroup (QObject *parent) | |
| void | add (QWidget *widget) |
| void | remove (QWidget *widget) |
| void | setOkButton (QPushButton *button) |
| bool | isEnabled (void) const |
Private Attributes | |
| QValueList< QWidget * > | widgets |
| QPushButton * | okButton |
| bool | m_enabled |
| kMandatoryFieldGroup::kMandatoryFieldGroup | ( | QObject * | parent | ) | [inline] |
| void kMandatoryFieldGroup::add | ( | QWidget * | widget | ) |
This method adds a widget to the list of mandatory fields for the current dialog
| widget | pointer to the widget to be added |
| void kMandatoryFieldGroup::remove | ( | QWidget * | widget | ) |
This method removes a widget form the list of mandatory fields for the current dialog
| widget | pointer to the widget to be removed |
| void kMandatoryFieldGroup::setOkButton | ( | QPushButton * | button | ) |
This method designates the button to be enabled when all mandatory fields have been completed
| button | pointer to the 'ok' button |
| bool kMandatoryFieldGroup::isEnabled | ( | void | ) | const [inline] |
This method returns if all requirements for the mandatory group have been fulfilled (true) or not (false).
| void kMandatoryFieldGroup::clear | ( | void | ) | [slot] |
| void kMandatoryFieldGroup::changed | ( | void | ) | [slot] |
Force update of ok button
| void kMandatoryFieldGroup::stateChanged | ( | void | ) | [signal] |
| void kMandatoryFieldGroup::stateChanged | ( | bool | state | ) | [signal] |
QValueList<QWidget *> kMandatoryFieldGroup::widgets [private] |
QPushButton* kMandatoryFieldGroup::okButton [private] |
bool kMandatoryFieldGroup::m_enabled [private] |
1.5.6