summaryrefslogtreecommitdiffstats
path: root/ksayit/src/parasaxparser.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:20:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:20:30 +0000
commit28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c (patch)
treea2f011f22aa31d0839c6e2118501b7a6d2f2ae96 /ksayit/src/parasaxparser.cpp
parent0285229d858c8f03cde7354c679a752598cf4515 (diff)
downloadtdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.tar.gz
tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();