summaryrefslogtreecommitdiffstats
path: root/lib/kross/main/scriptaction.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:38:41 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /lib/kross/main/scriptaction.cpp
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'lib/kross/main/scriptaction.cpp')
-rw-r--r--lib/kross/main/scriptaction.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kross/main/scriptaction.cpp b/lib/kross/main/scriptaction.cpp
index b658a0b1..f7e11618 100644
--- a/lib/kross/main/scriptaction.cpp
+++ b/lib/kross/main/scriptaction.cpp
@@ -152,9 +152,9 @@ ScriptAction::ScriptAction(const TQString& scriptconfigfile, const TQDomElement&
if(icon.isNull())
icon = KMimeType::iconForURL( KURL(file) );
if(description.isEmpty())
- description = TQString("%1<br>%2").tqarg(text.isEmpty() ? name : text).tqarg(file);
+ description = TQString("%1<br>%2").arg(text.isEmpty() ? name : text).arg(file);
else
- description += TQString("<br>%1").tqarg(file);
+ description += TQString("<br>%1").arg(file);
ScriptContainer::setName(file);
}
@@ -230,8 +230,8 @@ void ScriptAction::activate()
TQString errormessage = Kross::Api::ScriptContainer::getException()->getError();
TQString tracedetails = Kross::Api::ScriptContainer::getException()->getTrace();
d->logs << TQString("<b>%1</b><br>%2")
- .tqarg( TQStyleSheet::escape(errormessage) )
- .tqarg( TQStyleSheet::escape(tracedetails) );
+ .arg( TQStyleSheet::escape(errormessage) )
+ .arg( TQStyleSheet::escape(tracedetails) );
emit failed(errormessage, tracedetails);
}
else {