TuiNodeEnum.cpp   TuiNodeEnum.cpp 
skipping to change at line 44 skipping to change at line 44
TuiNodeResponse TuiNodeEnum::handleEditingKey(int key) TuiNodeResponse TuiNodeEnum::handleEditingKey(int key)
{ {
TuiNodeResponse response; TuiNodeResponse response;
response.accepted = false; response.accepted = false;
response.newNode = this; response.newNode = this;
if (key==Qt::Key_Left) if (key==Qt::Key_Left)
{ {
editing = false; editing = false;
response.accepted = true; response.accepted = true;
response.newNode = this;
return response; return response;
} }
else if (key==Qt::Key_Up) else if (key==Qt::Key_Up)
{ {
if (currentIdx > 0) if (currentIdx > 0)
currentIdx--; currentIdx--;
response.accepted = true; response.accepted = true;
response.newNode = this;
return response; return response;
} }
else if (key==Qt::Key_Down) else if (key==Qt::Key_Down)
{ {
if (currentIdx+1 < stringList.size()) if (currentIdx+1 < stringList.size())
currentIdx++; currentIdx++;
response.accepted = true; response.accepted = true;
response.newNode = this;
return response; return response;
} }
else if (key==Qt::Key_Return) else if (key==Qt::Key_Return)
{ {
emit(setValue(stringList.at(currentIdx))); emit(setValue(stringList.at(currentIdx)));
response.accepted = true; response.accepted = true;
response.newNode = this; response.newNode = this;
} }
return response; return response;
} }
 End of changes. 3 change blocks. 
3 lines changed or deleted 0 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/