summaryrefslogtreecommitdiffstats
path: root/lib/kross/api/exception.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /lib/kross/api/exception.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
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