The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
enum | ToggleState { Off, NoChange, On } |
QCheckBox ( QWidget * parent, const char * name ) | |
QCheckBox ( const QString & text, QWidget * parent, const char * name ) | |
void | setNoChange () |
void | setState ( ToggleState state ) |
ToggleState | state () const |
Constant | Value | Description |
---|---|---|
QCheckBox::Off | Qt::Unchecked | Use Qt::Unchecked instead. |
QCheckBox::NoChange | Qt::PartiallyChecked | Use Qt::PartiallyChecked instead. |
QCheckBox::On | Qt::Checked | Use Qt::Checked instead. |
Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.
Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.
Use setCheckState() instead.
Use setCheckState() instead.
See also state().
Use checkState() instead.
See also setState().