| 317 | // SETTERS |
| 318 | |
| 319 | boost::optional<std::string> WorkspaceObject_Impl::setName(const std::string& newName) { |
| 320 | boost::optional<std::string> result = setName(newName, true); |
| 321 | if (result) { |
| 322 | this->emitChangeSignals(); |
| 323 | } |
| 324 | return result; |
| 325 | } |
| 326 | |
| 327 | boost::optional<std::string> WorkspaceObject_Impl::setName(const std::string& newName, bool checkValidity) { |
| 328 | if (m_handle.isNull()) { |
nothing calls this directly
no test coverage detected