| 230 | } |
| 231 | |
| 232 | bool MapEditorTool::isDrawTool() const |
| 233 | { |
| 234 | switch (tool_type) |
| 235 | { |
| 236 | case DrawPoint: |
| 237 | case DrawPath: |
| 238 | case DrawCircle: |
| 239 | case DrawRectangle: |
| 240 | case DrawFreehand: |
| 241 | case DrawText: return true; |
| 242 | |
| 243 | default: return false; |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | void MapEditorTool::setStatusBarText(const QString& text) |
| 248 | { |
no outgoing calls
no test coverage detected