summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp')
-rw-r--r--kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp b/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp
index e9de3f46..421bc31f 100644
--- a/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp
+++ b/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp
@@ -28,12 +28,12 @@
#include <kross/main/scriptaction.h>
#include <kross/api/interpreter.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqsplitter.h>
#include <tqtimer.h>
#include <tqdatetime.h>
#include <tqdom.h>
-#include <stylesheet.h>
+#include <tqstylesheet.h>
#include <ktextbrowser.h>
#include <kdebug.h>
@@ -73,8 +73,8 @@ KexiScriptDesignView::KexiScriptDesignView(KexiMainWindow *mainWin, TQWidget *pa
TQSplitter* splitter = new TQSplitter(this);
splitter->setOrientation(Qt::Vertical);
- TQHBoxLayout* layout = new TQHBoxLayout(this);
- layout->addWidget(splitter);
+ TQHBoxLayout* tqlayout = new TQHBoxLayout(this);
+ tqlayout->addWidget(splitter);
d->editor = new KexiScriptEditor(mainWin, splitter, "ScriptEditor");
splitter->setFocusProxy(d->editor);
@@ -191,7 +191,7 @@ void KexiScriptDesignView::slotPropertyChanged(KoProperty::Set& /*set*/, KoPrope
if(property.name() == "language") {
TQString language = property.value().toString();
- kdDebug() << TQString("KexiScriptDesignView::slotPropertyChanged() language=%1").arg(language) << endl;
+ kdDebug() << TQString("KexiScriptDesignView::slotPropertyChanged() language=%1").tqarg(language) << endl;
d->scriptaction->setInterpreterName( language );
// We assume Kross and the HighlightingInterface are using same
// names for the support languages...
@@ -201,7 +201,7 @@ void KexiScriptDesignView::slotPropertyChanged(KoProperty::Set& /*set*/, KoPrope
else {
bool ok = d->scriptaction->setOption( property.name(), property.value() );
if(! ok) {
- kdWarning() << TQString("KexiScriptDesignView::slotPropertyChanged() unknown property '%1'.").arg(TQString(property.name())) << endl;
+ kdWarning() << TQString("KexiScriptDesignView::slotPropertyChanged() unknown property '%1'.").tqarg(TQString(property.name())) << endl;
return;
}
}
@@ -214,12 +214,12 @@ void KexiScriptDesignView::execute()
d->statusbrowser->clear();
TQTime time;
time.start();
- d->statusbrowser->append( i18n("Execution of the script \"%1\" started.").arg(d->scriptaction->name()) );
+ d->statusbrowser->append( i18n("Execution of the script \"%1\" started.").tqarg(d->scriptaction->name()) );
d->scriptaction->activate();
if( d->scriptaction->hadException() ) {
TQString errormessage = d->scriptaction->getException()->getError();
- d->statusbrowser->append(TQString("<b>%2</b><br>").arg(TQStyleSheet::escape(errormessage)) );
+ d->statusbrowser->append(TQString("<b>%2</b><br>").tqarg(TQStyleSheet::escape(errormessage)) );
TQString tracedetails = d->scriptaction->getException()->getTrace();
d->statusbrowser->append( TQStyleSheet::escape(tracedetails) );
@@ -229,7 +229,7 @@ void KexiScriptDesignView::execute()
d->editor->setLineNo(lineno);
}
else {
- d->statusbrowser->append( i18n("Successfully executed. Time elapsed: %1ms").arg(time.elapsed()) );
+ d->statusbrowser->append( i18n("Successfully executed. Time elapsed: %1ms").tqarg(time.elapsed()) );
}
}