summaryrefslogtreecommitdiffstats
path: root/ksayit/src/parasaxparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksayit/src/parasaxparser.cpp')
-rw-r--r--ksayit/src/parasaxparser.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/ksayit/src/parasaxparser.cpp b/ksayit/src/parasaxparser.cpp
index 575df06..9a61e0a 100644
--- a/ksayit/src/parasaxparser.cpp
+++ b/ksayit/src/parasaxparser.cpp
@@ -22,7 +22,7 @@
ParaSaxParser::ParaSaxParser()
{
- m_reader = new QXmlSimpleReader();
+ m_reader = new TQXmlSimpleReader();
m_handler = new SaxHandler();
m_reader->setContentHandler(m_handler);
@@ -30,8 +30,8 @@ ParaSaxParser::ParaSaxParser()
m_reader->setEntityResolver(m_handler);
m_reader->setDeclHandler(m_handler);
- m_XmlInputHeader = QString::null;
- m_XmlInputBody = QString::null;
+ m_XmlInputHeader = TQString::null;
+ m_XmlInputBody = TQString::null;
}
ParaSaxParser::~ParaSaxParser()
@@ -51,23 +51,23 @@ ParaSaxParser* ParaSaxParser::Instance()
}
-void ParaSaxParser::setProcessingInstruction(const QString &data)
+void ParaSaxParser::setProcessingInstruction(const TQString &data)
{
m_XmlInputHeader = data;
}
-void ParaSaxParser::setData(const QString &data)
+void ParaSaxParser::setData(const TQString &data)
{
m_XmlInputBody = data;
}
-void ParaSaxParser::getText(QString &data)
+void ParaSaxParser::getText(TQString &data)
{
- QString XmlPart = m_XmlInputHeader + m_XmlInputBody;
+ TQString XmlPart = m_XmlInputHeader + m_XmlInputBody;
- QXmlInputSource input;
+ TQXmlInputSource input;
input.setData(XmlPart);
m_handler->reset();
@@ -78,12 +78,12 @@ void ParaSaxParser::getText(QString &data)
}
-void ParaSaxParser::getRTFText(QString &data)
+void ParaSaxParser::getRTFText(TQString &data)
{
- QString XmlPart = m_XmlInputHeader + m_XmlInputBody;
+ TQString XmlPart = m_XmlInputHeader + m_XmlInputBody;
kdDebug(100200) << "ParaSaxParser::getRTFText(): " << XmlPart << endl;
- QXmlInputSource input;
+ TQXmlInputSource input;
input.setData(XmlPart);
m_handler->reset();