summaryrefslogtreecommitdiffstats
path: root/quanta/parsers/dtd
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/parsers/dtd')
-rw-r--r--quanta/parsers/dtd/dtdparser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/quanta/parsers/dtd/dtdparser.cpp b/quanta/parsers/dtd/dtdparser.cpp
index 72e7ea18..b384e456 100644
--- a/quanta/parsers/dtd/dtdparser.cpp
+++ b/quanta/parsers/dtd/dtdparser.cpp
@@ -154,7 +154,7 @@ bool DTDParser::parse(const TQString &targetDir, bool entitiesOnly)
file.close();
} else
{
- KMessageBox::error(0L, i18n("<qt>Cannot create the <br><b>%1</b> file.<br>Check that you have write permission in the tqparent folder.</qt>")
+ KMessageBox::error(0L, i18n("<qt>Cannot create the <br><b>%1</b> file.<br>Check that you have write permission in the parent folder.</qt>")
.tqarg(file.name()));
return false;
}
@@ -325,14 +325,14 @@ void saveElement(xmlElementPtr elem, xmlBufferPtr buf)
{
if (content_ptr == el_ptr->content)
break;
- if (content_ptr->tqparent)
+ if (content_ptr->parent)
{
- if (content_ptr == content_ptr->tqparent->c1)
+ if (content_ptr == content_ptr->parent->c1)
content_ptr->c1 = 0L;
else
content_ptr->c2 = 0L;
}
- content_ptr = content_ptr->tqparent;
+ content_ptr = content_ptr->parent;
}
}
stream << "</tqchildren>" << endl;