Get current value.
QxToolBarCheckBox.getChecked();
Set new value.
QxToolBarCheckBox.setChecked(newValue);