summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/projectnodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/projectnodes.h')
-rw-r--r--src/plugins/projectexplorer/projectnodes.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/plugins/projectexplorer/projectnodes.h b/src/plugins/projectexplorer/projectnodes.h
index a214407515..ce36882aa9 100644
--- a/src/plugins/projectexplorer/projectnodes.h
+++ b/src/plugins/projectexplorer/projectnodes.h
@@ -57,8 +57,6 @@ enum class FileType : quint16 {
FileTypeSize
};
-enum class ProductType { App, Lib, Other, None };
-
enum ProjectAction {
// Special value to indicate that the actions are handled by the parent
InheritedFromParent,
@@ -359,16 +357,15 @@ public:
virtual QVariant data(Core::Id role) const;
virtual bool setData(Core::Id role, const QVariant &value) const;
- bool isProduct() const { return m_productType != ProductType::None; }
- ProductType productType() const { return m_productType; }
+ bool isProduct() const { return m_isProduct; }
protected:
- void setProductType(ProductType type) { m_productType = type; }
+ void setIsProduct() { m_isProduct = true; }
QString m_target;
private:
- ProductType m_productType = ProductType::None;
+ bool m_isProduct = false;
};
class PROJECTEXPLORER_EXPORT ContainerNode : public FolderNode