summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/text.cpp
diff options
context:
space:
mode:
authorMartin Smith <[email protected]>2015-04-10 12:54:57 +0200
committerMartin Smith <[email protected]>2015-04-11 10:25:14 +0000
commit8a2645b8f048092aee3e9cfa570171a1dfc58651 (patch)
tree69b77618be033ee6dfffcaccaa37faaeeb2b472c /src/tools/qdoc/text.cpp
parent02a13a86fab1f928d5dd40069d121ded549366f1 (diff)
qdoc: More data member name changes
In preparation for refactoring the Node class hierarchy, the names of a few enum types and the functions that set and get them are changed so that they will not be confused with other uses of the word Type. Change-Id: I0496b46e5d7adffccadcb464aedb2806728e781d Task-number: QTBUG-45450 Reviewed-by: Topi Reiniƶ <[email protected]>
Diffstat (limited to 'src/tools/qdoc/text.cpp')
-rw-r--r--src/tools/qdoc/text.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qdoc/text.cpp b/src/tools/qdoc/text.cpp
index b4eebe4c757..fa105a83442 100644
--- a/src/tools/qdoc/text.cpp
+++ b/src/tools/qdoc/text.cpp
@@ -72,7 +72,7 @@ Text& Text::operator=(const Text& text)
return *this;
}
-Text& Text::operator<<(Atom::Type atomType)
+Text& Text::operator<<(Atom::AtomType atomType)
{
return operator<<(Atom(atomType));
}
@@ -177,7 +177,7 @@ QString Text::toString() const
return str;
}
-Text Text::subText(Atom::Type left, Atom::Type right, const Atom* from, bool inclusive) const
+Text Text::subText(Atom::AtomType left, Atom::AtomType right, const Atom* from, bool inclusive) const
{
const Atom* begin = from ? from : firstAtom();
const Atom* end;