TuiNodeBool.cpp   TuiNodeBool.cpp 
skipping to change at line 67 skipping to change at line 67
{ {
state = false; state = false;
emit(setValue(state)); emit(setValue(state));
response.accepted = true; response.accepted = true;
emit(setValue(state)); emit(setValue(state));
return response; return response;
} }
return response; return response;
} }
QString TuiNodeBool::getDisplayText() QString TuiNodeBool::getDisplayText() const
{ {
// TODO: The label/value separation needs to be reworked. This way o f using // TODO: The label/value separation needs to be reworked. This way o f using
// the colon is not i18n-friendly. --BM // the colon is not i18n-friendly. --BM
QString stringOn = q_("On"); QString stringOn = q_("On");
QString stringOff = q_("Off"); QString stringOff = q_("Off");
QString value; QString value;
if (!editing) if (!editing)
{ {
if (state) if (state)
value = QString(": %1").arg(stringOn); value = QString(": %1").arg(stringOn);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/