forked from qt-creator/qt-creator
ProjectNode: Provide default implementations of a few functions
Since a lot of derived classes can make use of those. Change-Id: I051542e8d318476348d753de4d4c0a30b3a9ed62 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -591,25 +591,50 @@ QList<ProjectNode*> ProjectNode::subProjectNodes() const
|
||||
return m_subProjectNodes;
|
||||
}
|
||||
|
||||
/*!
|
||||
\function bool ProjectNode::addSubProjects(const QStringList &)
|
||||
*/
|
||||
bool ProjectNode::canAddSubProject(const QString &proFilePath) const
|
||||
{
|
||||
Q_UNUSED(proFilePath)
|
||||
return false;
|
||||
}
|
||||
|
||||
/*!
|
||||
\function bool ProjectNode::removeSubProjects(const QStringList &)
|
||||
*/
|
||||
bool ProjectNode::addSubProjects(const QStringList &proFilePaths)
|
||||
{
|
||||
Q_UNUSED(proFilePaths)
|
||||
return false;
|
||||
}
|
||||
|
||||
/*!
|
||||
\function bool ProjectNode::addFiles(const FileType, const QStringList &, QStringList *)
|
||||
*/
|
||||
bool ProjectNode::removeSubProjects(const QStringList &proFilePaths)
|
||||
{
|
||||
Q_UNUSED(proFilePaths)
|
||||
return false;
|
||||
}
|
||||
|
||||
/*!
|
||||
\function bool ProjectNode::removeFiles(const FileType, const QStringList &, QStringList *)
|
||||
*/
|
||||
bool ProjectNode::addFiles(const QStringList &filePaths, QStringList *notAdded)
|
||||
{
|
||||
Q_UNUSED(filePaths)
|
||||
Q_UNUSED(notAdded)
|
||||
return false;
|
||||
}
|
||||
|
||||
/*!
|
||||
\function bool ProjectNode::renameFile(const FileType, const QString &, const QString &)
|
||||
*/
|
||||
bool ProjectNode::removeFiles(const QStringList &filePaths, QStringList *notRemoved)
|
||||
{
|
||||
Q_UNUSED(filePaths)
|
||||
Q_UNUSED(notRemoved)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ProjectNode::deleteFiles(const QStringList &filePaths)
|
||||
{
|
||||
Q_UNUSED(filePaths)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ProjectNode::renameFile(const QString &filePath, const QString &newFilePath)
|
||||
{
|
||||
Q_UNUSED(filePath)
|
||||
Q_UNUSED(newFilePath)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ProjectNode::deploysFolder(const QString &folder) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user