summaryrefslogtreecommitdiffstats
path: root/quanta/parsers/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/parsers/parser.cpp')
-rw-r--r--quanta/parsers/parser.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/quanta/parsers/parser.cpp b/quanta/parsers/parser.cpp
index 261d4f97..8206ac29 100644
--- a/quanta/parsers/parser.cpp
+++ b/quanta/parsers/parser.cpp
@@ -23,7 +23,7 @@
#include <tqstrlist.h>
#include <tqdatetime.h>
#include <tqfile.h>
-#include <textcodec.h>
+#include <tqtextcodec.h>
#include <tqvaluelist.h>
#include <tqvaluestack.h>
@@ -860,7 +860,7 @@ void Parser::deleteNodes(Node *firstNode, Node *lastNode, NodeModifsSet *modifs)
j = 0;
if (!closesPrevious)
{
- //move the children up one level
+ //move the tqchildren up one level
Node *n = child;
Node *m = child;
while (n)
@@ -900,7 +900,7 @@ void Parser::deleteNodes(Node *firstNode, Node *lastNode, NodeModifsSet *modifs)
}
} else
{
- //change the parent of children, so the prev will be the new parent
+ //change the parent of tqchildren, so the prev will be the new parent
if (child)
{
Node *n = child;
@@ -928,7 +928,7 @@ void Parser::deleteNodes(Node *firstNode, Node *lastNode, NodeModifsSet *modifs)
prev->child = child;
}
}
- //move down the nodes starting with next one level and append to the list of children of prev
+ //move down the nodes starting with next one level and append to the list of tqchildren of prev
if (next)
{
if (prev->child) //if the previous node has a child, append the next node after the last child
@@ -1020,7 +1020,7 @@ Node *Parser::rebuild(Document *w)
return n;
}
- kdDebug(24000) << TQString("Invalid area: %1,%2,%3,%4").arg(area.bLine).arg(area.bCol).arg(area.eLine).arg(area.eCol) << "\n";
+ kdDebug(24000) << TQString("Invalid area: %1,%2,%3,%4").tqarg(area.bLine).tqarg(area.bCol).tqarg(area.eLine).tqarg(area.eCol) << "\n";
// kdDebug(24000) << "lastNode1: " << lastNode << " " << lastNode->tag << endl;
deleteNodes(firstNode->nextSibling(), lastNode, modifs);