forked from qt-creator/qt-creator
Minor doc improvement
Change-Id: I4899d4ed34bf1132f688390010640f226ace1264 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
@@ -512,11 +512,23 @@ QVariantMap Project::toMap() const
|
|||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*!
|
||||||
|
Returns the directory that contains the project.
|
||||||
|
|
||||||
|
This includes the absolute path.
|
||||||
|
*/
|
||||||
|
|
||||||
Utils::FileName Project::projectDirectory() const
|
Utils::FileName Project::projectDirectory() const
|
||||||
{
|
{
|
||||||
return projectDirectory(projectFilePath());
|
return projectDirectory(projectFilePath());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*!
|
||||||
|
Returns the directory that contains the file \a top.
|
||||||
|
|
||||||
|
This includes the absolute path.
|
||||||
|
*/
|
||||||
|
|
||||||
Utils::FileName Project::projectDirectory(const Utils::FileName &top)
|
Utils::FileName Project::projectDirectory(const Utils::FileName &top)
|
||||||
{
|
{
|
||||||
if (top.isEmpty())
|
if (top.isEmpty())
|
||||||
|
|||||||
@@ -76,7 +76,6 @@ public:
|
|||||||
|
|
||||||
Core::IDocument *document() const;
|
Core::IDocument *document() const;
|
||||||
Utils::FileName projectFilePath() const;
|
Utils::FileName projectFilePath() const;
|
||||||
// The directory that holds the project. This includes the absolute path.
|
|
||||||
Utils::FileName projectDirectory() const;
|
Utils::FileName projectDirectory() const;
|
||||||
static Utils::FileName projectDirectory(const Utils::FileName &top);
|
static Utils::FileName projectDirectory(const Utils::FileName &top);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user