| 416 | |
| 417 | |
| 418 | QString Uri::documentOrProjectPath() |
| 419 | // ---------------------------------------------------------------------------- |
| 420 | // Return the path to the document or project |
| 421 | // ---------------------------------------------------------------------------- |
| 422 | // tao://example.com/some/project => /some/project |
| 423 | // tao://example.com/some/project?d=my/doc.ddd => /some/project/my/doc.ddd |
| 424 | { |
| 425 | QString path = this->path(); |
| 426 | QString file = fileName(); |
| 427 | if (!file.isEmpty()) |
| 428 | path += "/" + file; |
| 429 | return path; |
| 430 | } |
| 431 | |
| 432 | |
| 433 | bool Uri::isLocal() |
nothing calls this directly
no outgoing calls
no test coverage detected