summaryrefslogtreecommitdiffstats
path: root/ksayit/src/saxhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksayit/src/saxhandler.cpp')
-rw-r--r--ksayit/src/saxhandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksayit/src/saxhandler.cpp b/ksayit/src/saxhandler.cpp
index 9f6354c..7e2d6aa 100644
--- a/ksayit/src/saxhandler.cpp
+++ b/ksayit/src/saxhandler.cpp
@@ -23,7 +23,7 @@
SaxHandler::SaxHandler()
: TQXmlDefaultHandler()
{
- m_output = TQString::null;
+ m_output = TQString();
m_rtf = true;
m_tagmap["action"] = "B";
m_tagmap["application"] = "B";
@@ -127,7 +127,7 @@ bool SaxHandler::characters(const TQString & ch)
bool SaxHandler::fatalError(const TQXmlParseException &exc)
{
TQString err = i18n("Fatal error while parsing XML-Paragraph:\n");
- err += i18n("%1, Line: %2").arg(exc.message()).arg(exc.lineNumber());
+ err += i18n("%1, Line: %2").tqarg(exc.message()).tqarg(exc.lineNumber());
KMessageBox::error(0, err, i18n("Fatal error") );
return false;
}
@@ -160,7 +160,7 @@ bool SaxHandler::internalEntityDecl(const TQString & name,
bool SaxHandler::skippedEntity(const TQString &name)
{
- TQString warn = i18n("Unresolved entity found: %1.\n").arg(name);
+ TQString warn = i18n("Unresolved entity found: %1.\n").tqarg(name);
warn += i18n("KSayIt does not support DocBook files with external entities. ");
warn += i18n("Parsing can continue, but the resulting text will contain gaps.");
@@ -181,7 +181,7 @@ void SaxHandler::getData( TQString &data ) const
void SaxHandler::reset()
{
- m_output = TQString::null;
+ m_output = TQString();
}