summaryrefslogtreecommitdiffstats
path: root/lib/kross/main/scriptaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/main/scriptaction.cpp')
-rw-r--r--lib/kross/main/scriptaction.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kross/main/scriptaction.cpp b/lib/kross/main/scriptaction.cpp
index b658a0b1..c98cc97c 100644
--- a/lib/kross/main/scriptaction.cpp
+++ b/lib/kross/main/scriptaction.cpp
@@ -20,7 +20,7 @@
#include "scriptaction.h"
#include "manager.h"
-#include <tqstylesheet.h>
+#include <stylesheet.h>
#include <tqdir.h>
#include <tqfile.h>
#include <tqfileinfo.h>
@@ -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 {