QmlDesigner.MetaInfo: Adding isTabView()

Change-Id: I05fee773ed83a99fb14b495de3ace0bc87692fe9
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
Thomas Hartmann
2014-06-19 13:39:37 +02:00
parent 4b772f6a3f
commit 9ccd45c5de
2 changed files with 6 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ public:
bool isGraphicalItem() const;
bool isLayoutable() const;
bool isView() const;
bool isTabView() const;
QString importDirectoryPath() const;

View File

@@ -1370,4 +1370,9 @@ bool NodeMetaInfo::isView() const
isSubclassOf("QtQuick.PathView", -1, -1));
}
bool NodeMetaInfo::isTabView() const
{
return isSubclassOf("QtQuick.Controls.TabView", -1, -1);
}
} // namespace QmlDesigner