summaryrefslogtreecommitdiffstats
path: root/quanta/parsers/sagroupparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/parsers/sagroupparser.cpp')
-rw-r--r--quanta/parsers/sagroupparser.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/quanta/parsers/sagroupparser.cpp b/quanta/parsers/sagroupparser.cpp
index c6c6b57a..000ba002 100644
--- a/quanta/parsers/sagroupparser.cpp
+++ b/quanta/parsers/sagroupparser.cpp
@@ -35,14 +35,14 @@
extern GroupElementMapList globalGroupMap;
-SAGroupParser::SAGroupParser(SAParser *tqparent, Document *write, Node *startNode, Node *endNode, bool synchronous, bool parsingLastNode, bool paringLastGroup)
+SAGroupParser::SAGroupParser(SAParser *parent, Document *write, Node *startNode, Node *endNode, bool synchronous, bool parsingLastNode, bool paringLastGroup)
{
g_node = startNode;
g_endNode = endNode;
m_synchronous = synchronous;
m_lastGroupParsed = paringLastGroup;
m_parsingLastNode = parsingLastNode;
- m_parent = tqparent;
+ m_parent = parent;
m_write = write;
m_count = 0;
m_parseForGroupTimer = new TQTimer(this);
@@ -178,7 +178,7 @@ void SAGroupParser::parseForScriptGroup(Node *node)
Node *tmpNode = node;
while (tmpNode && tmpNode->tag->dtd() == dtd && tmpNode->tag->type != Tag::ScriptStructureBegin)
{
- tmpNode = tmpNode->tqparent;
+ tmpNode = tmpNode->parent;
}
if (tmpNode && tmpNode->tag->type == Tag::ScriptStructureBegin)
{
@@ -188,7 +188,7 @@ void SAGroupParser::parseForScriptGroup(Node *node)
groupElement->parentNode = 0L;
}
groupElement->global = true;
- tmpNode = node->tqparent;
+ tmpNode = node->parent;
while (tmpNode && tmpNode->tag->dtd() == dtd)
{
if ( tmpNode->tag->type == Tag::ScriptStructureBegin && tmpNode->tag->dtd()->localScopeKeywordsRx.search(tmpNode->tag->cleanStr) != -1)
@@ -197,7 +197,7 @@ void SAGroupParser::parseForScriptGroup(Node *node)
groupElement->parentNode = tmpNode;
break;
}
- tmpNode = tmpNode->tqparent;
+ tmpNode = tmpNode->parent;
}
if (group.appendToTags)