forked from qt-creator/qt-creator
ProjectNodes: Allow to specify a list of extra locations for FolderNodes
This is useful for buildsystems to provide quick access to interesting locations, e.g. related to the targets they define. Change-Id: Ia23534ccaf15ae63b38354c563907c594ad6879c Reviewed-by: Jochen Becher <jochen_becher@gmx.de> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -637,6 +637,16 @@ void FolderNode::setIcon(const QIcon &icon)
|
||||
m_icon = icon;
|
||||
}
|
||||
|
||||
void FolderNode::setLocationInfo(const QList<FolderNode::LocationInfo> &info)
|
||||
{
|
||||
m_locations = info;
|
||||
}
|
||||
|
||||
const QList<FolderNode::LocationInfo> FolderNode::locationInfo() const
|
||||
{
|
||||
return m_locations;
|
||||
}
|
||||
|
||||
QString FolderNode::addFileFilter() const
|
||||
{
|
||||
FolderNode *fn = parentFolderNode();
|
||||
|
||||
Reference in New Issue
Block a user