MCPcopy Create free account
hub / github.com/c3d/tao3D / documentOrProjectPath

Method documentOrProjectPath

tao/uri.cpp:418–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416
417
418QString 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
433bool Uri::isLocal()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected