| 98 | } |
| 99 | |
| 100 | void setEnumeration(int v, bool notify = true) |
| 101 | { |
| 102 | if (v == _vali) return; |
| 103 | if (v < 0) return; |
| 104 | _vali = static_cast<int>(v); |
| 105 | if (notify && _valueChanged) _valueChanged(); |
| 106 | } |
| 107 | |
| 108 | void setEnumeration(char const*const v, bool notify = true) |
| 109 | { |
no outgoing calls
no test coverage detected