summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@theqtcompany.com>2015-12-16 12:30:42 +0100
committerEdward Welbourne <edward.welbourne@theqtcompany.com>2016-01-04 15:23:50 +0000
commitfd6da222d116b49a6feee1f70a83e1bb447f4cec (patch)
tree4337b4f7ef08ab0ef29f8a5489d32cf9055a7459
parent1bdf30d40f800199d76a4c8577d40a455a5ed52a (diff)
qdoc: Simplify two methods to use ones from the base.
Change-Id: I3f2811f9de789c9df5e039e7c845d7d1626cb987 Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
-rw-r--r--src/qdoc/node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qdoc/node.h b/src/qdoc/node.h
index 6b1032805..945bc2187 100644
--- a/src/qdoc/node.h
+++ b/src/qdoc/node.h
@@ -619,8 +619,8 @@ class QmlTypeNode : public Aggregate
public:
QmlTypeNode(Aggregate* parent, const QString& name);
virtual ~QmlTypeNode();
- virtual bool isQmlType() const Q_DECL_OVERRIDE { return genus() == Node::QML; }
- virtual bool isJsType() const Q_DECL_OVERRIDE { return genus() == Node::JS; }
+ virtual bool isQmlType() const Q_DECL_OVERRIDE { return isQmlNode(); }
+ virtual bool isJsType() const Q_DECL_OVERRIDE { return isJsNode(); }
virtual bool isQtQuickNode() const Q_DECL_OVERRIDE {
return (logicalModuleName() == QLatin1String("QtQuick"));
}