summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/node.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-02-24 02:42:00 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-02-24 02:42:00 (GMT)
commit7c76abb0dc4204043bec9b6fa315f9753a7986ae (patch)
treecee303672cfd138790645e731f2d69472564d4b7 /tools/qdoc3/node.h
parent4066e60e859853cfe3240245ba05271e79839506 (diff)
downloadQt-7c76abb0dc4204043bec9b6fa315f9753a7986ae.zip
Qt-7c76abb0dc4204043bec9b6fa315f9753a7986ae.tar.gz
Qt-7c76abb0dc4204043bec9b6fa315f9753a7986ae.tar.bz2
Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to QDeclarativeXXX.
Diffstat (limited to 'tools/qdoc3/node.h')
-rw-r--r--tools/qdoc3/node.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/tools/qdoc3/node.h b/tools/qdoc3/node.h
index 3798e4e..5300efc 100644
--- a/tools/qdoc3/node.h
+++ b/tools/qdoc3/node.h
@@ -74,9 +74,9 @@ class Node
Variable,
#ifdef QDOC_QML
Target,
- QmlProperty,
- QmlSignal,
- QmlMethod,
+ QDeclarativeProperty,
+ QDeclarativeSignal,
+ QDeclarativeMethod,
LastType
#else
Target,
@@ -95,9 +95,9 @@ class Node
Page,
#ifdef QDOC_QML
ExternalPage,
- QmlClass,
- QmlPropertyGroup,
- QmlBasicType
+ QDeclarativeClass,
+ QDeclarativePropertyGroup,
+ QDeclarativeBasicType
#else
ExternalPage
#endif
@@ -373,13 +373,13 @@ class FakeNode : public InnerNode
};
#ifdef QDOC_QML
-class QmlClassNode : public FakeNode
+class QDeclarativeClassNode : public FakeNode
{
public:
- QmlClassNode(InnerNode *parent,
+ QDeclarativeClassNode(InnerNode *parent,
const QString& name,
const ClassNode* cn);
- virtual ~QmlClassNode() { }
+ virtual ~QDeclarativeClassNode() { }
const ClassNode* classNode() const { return cnode; }
virtual QString fileBase() const;
@@ -394,21 +394,21 @@ class QmlClassNode : public FakeNode
const ClassNode* cnode;
};
-class QmlBasicTypeNode : public FakeNode
+class QDeclarativeBasicTypeNode : public FakeNode
{
public:
- QmlBasicTypeNode(InnerNode *parent,
+ QDeclarativeBasicTypeNode(InnerNode *parent,
const QString& name);
- virtual ~QmlBasicTypeNode() { }
+ virtual ~QDeclarativeBasicTypeNode() { }
};
-class QmlPropGroupNode : public FakeNode
+class QDeclarativePropGroupNode : public FakeNode
{
public:
- QmlPropGroupNode(QmlClassNode* parent,
+ QDeclarativePropGroupNode(QDeclarativeClassNode* parent,
const QString& name,
bool attached);
- virtual ~QmlPropGroupNode() { }
+ virtual ~QDeclarativePropGroupNode() { }
const QString& element() const { return parent()->name(); }
void setDefault() { isdefault = true; }
@@ -420,14 +420,14 @@ class QmlPropGroupNode : public FakeNode
bool att;
};
-class QmlPropertyNode : public LeafNode
+class QDeclarativePropertyNode : public LeafNode
{
public:
- QmlPropertyNode(QmlPropGroupNode* parent,
+ QDeclarativePropertyNode(QDeclarativePropGroupNode* parent,
const QString& name,
const QString& type,
bool attached);
- virtual ~QmlPropertyNode() { }
+ virtual ~QDeclarativePropertyNode() { }
void setDataType(const QString& dataType) { dt = dataType; }
void setStored(bool stored) { sto = toTrool(stored); }
@@ -441,7 +441,7 @@ class QmlPropertyNode : public LeafNode
bool isWritable() const { return fromTrool(wri,true); }
bool isAttached() const { return att; }
- const QString& element() const { return static_cast<QmlPropGroupNode*>(parent())->element(); }
+ const QString& element() const { return static_cast<QDeclarativePropGroupNode*>(parent())->element(); }
private:
enum Trool { Trool_True, Trool_False, Trool_Default };