Add a id() method to projects

* This makes it easier to distinguish projects in the
   userfileaccessor
This commit is contained in:
Tobias Hunger
2010-01-22 15:59:44 +01:00
parent 51fb280b9e
commit 4ee223d45d
9 changed files with 25 additions and 0 deletions

View File

@@ -226,6 +226,11 @@ QString QmlProject::displayName() const
return m_projectName;
}
QString QmlProject::id() const
{
return QLatin1String("QmlProjectManager.QmlProject");
}
Core::IFile *QmlProject::file() const
{
return m_file;