diff options
Diffstat (limited to 'quanta/parsers/sagroupparser.cpp')
-rw-r--r-- | quanta/parsers/sagroupparser.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/quanta/parsers/sagroupparser.cpp b/quanta/parsers/sagroupparser.cpp index 5f45a73a..49973c70 100644 --- a/quanta/parsers/sagroupparser.cpp +++ b/quanta/parsers/sagroupparser.cpp @@ -182,10 +182,10 @@ void SAGroupParser::parseForScriptGroup(Node *node) } if (tmpNode && tmpNode->tag->type == Tag::ScriptStructureBegin) { - groupElement->tqparentNode = tmpNode; + groupElement->parentNode = tmpNode; } else { - groupElement->tqparentNode = 0L; + groupElement->parentNode = 0L; } groupElement->global = true; tmpNode = node->tqparent; @@ -194,7 +194,7 @@ void SAGroupParser::parseForScriptGroup(Node *node) if ( tmpNode->tag->type == Tag::ScriptStructureBegin && tmpNode->tag->dtd()->localScopeKeywordsRx.search(tmpNode->tag->cleanStr) != -1) { groupElement->global = false; - groupElement->tqparentNode = tmpNode; + groupElement->parentNode = tmpNode; break; } tmpNode = tmpNode->tqparent; @@ -207,11 +207,11 @@ void SAGroupParser::parseForScriptGroup(Node *node) int nameEnd = s.tqfind('('); qTag->setName(s.left(nameEnd)); qTag->className = ""; - if (groupElement->tqparentNode) + if (groupElement->parentNode) { - for (GroupElementList::ConstIterator it2 = groupElement->tqparentNode->m_groupElements.constBegin(); it2 != groupElement->tqparentNode->m_groupElements.constEnd(); ++it2) + for (GroupElementList::ConstIterator it2 = groupElement->parentNode->m_groupElements.constBegin(); it2 != groupElement->parentNode->m_groupElements.constEnd(); ++it2) { - if ((*it2)->group->name == group.tqparentGroup) + if ((*it2)->group->name == group.parentGroup) { qTag->className = (*it2)->tag->name; break; @@ -253,7 +253,7 @@ void SAGroupParser::parseForScriptGroup(Node *node) else break; } - // Now we are left with the current line, lets check if the variable is inside tqparentheses + // Now we are left with the current line, lets check if the variable is inside parentheses int lineOpenParenth=tagWholeLineStr.tqfind('('); if(lineOpenParenth != -1) { |