summaryrefslogtreecommitdiffstats
path: root/lib/kross/api/exception.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /lib/kross/api/exception.cpp
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'lib/kross/api/exception.cpp')
-rw-r--r--lib/kross/api/exception.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kross/api/exception.cpp b/lib/kross/api/exception.cpp
index c6a0198f..cb0125c4 100644
--- a/lib/kross/api/exception.cpp
+++ b/lib/kross/api/exception.cpp
@@ -30,7 +30,7 @@ Exception::Exception(const TQString& error, long lineno)
, m_error(error)
, m_lineno(lineno)
{
- krosswarning( TQString("Kross::Api::Exception error='%1' lineno='%3'").tqarg(m_error).tqarg(m_lineno) );
+ krosswarning( TQString("Kross::Api::Exception error='%1' lineno='%3'").arg(m_error).arg(m_lineno) );
}
Exception::~Exception()
@@ -45,8 +45,8 @@ const TQString Exception::getClassName() const
const TQString Exception::toString()
{
return (m_lineno != -1)
- ? TQString("Exception at line %1: %2").tqarg(m_lineno).tqarg(m_error)
- : TQString("Exception: %1").tqarg(m_error);
+ ? TQString("Exception at line %1: %2").arg(m_lineno).arg(m_error)
+ : TQString("Exception: %1").arg(m_error);
}
const TQString Exception::getError() const