diff options
Diffstat (limited to 'kexi/plugins/scripting/kexiscripting/kexiscripteditor.cpp')
-rw-r--r-- | kexi/plugins/scripting/kexiscripting/kexiscripteditor.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/plugins/scripting/kexiscripting/kexiscripteditor.cpp b/kexi/plugins/scripting/kexiscripting/kexiscripteditor.cpp index a638af36..a6f2dfc1 100644 --- a/kexi/plugins/scripting/kexiscripting/kexiscripteditor.cpp +++ b/kexi/plugins/scripting/kexiscripting/kexiscripteditor.cpp @@ -41,8 +41,8 @@ class KexiScriptEditor::Private Private() : scriptaction(0) {} }; -KexiScriptEditor::KexiScriptEditor(KexiMainWindow *mainWin, QWidget *parent, const char *name) - : KexiEditor(mainWin, parent, name) +KexiScriptEditor::KexiScriptEditor(KexiMainWindow *mainWin, TQWidget *tqparent, const char *name) + : KexiEditor(mainWin, tqparent, name) , d( new Private() ) { } @@ -62,13 +62,13 @@ void KexiScriptEditor::initialize(Kross::Api::ScriptAction* scriptaction) d->scriptaction = scriptaction; Q_ASSERT(d->scriptaction); - disconnect(this, SIGNAL(textChanged()), this, SLOT(slotTextChanged())); + disconnect(this, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotTextChanged())); - QString code = d->scriptaction->getCode(); + TQString code = d->scriptaction->getCode(); if(code.isNull()) { // If there is no code we just add some information. ///@todo remove after release - code = "# " + QStringList::split("\n", i18n( + code = "# " + TQStringList::split("\n", i18n( "This note will appear for a user in the script's source code " "as a comment. Keep every row not longer than 60 characters and use '\n.'", @@ -76,7 +76,7 @@ void KexiScriptEditor::initialize(Kross::Api::ScriptAction* scriptaction) "support in Kexi. The scripting API may change in details\n" "in the next Kexi version.\n" "For more information and documentation see\n%1" - ).arg("http://www.kexi-project.org/scripting/"), true).join("\n# ") + "\n"; + ).tqarg("http://www.kexi-project.org/scripting/"), true).join("\n# ") + "\n"; } KexiEditor::setText(code); // We assume Kross and the HighlightingInterface are using same @@ -85,7 +85,7 @@ void KexiScriptEditor::initialize(Kross::Api::ScriptAction* scriptaction) clearUndoRedo(); KexiEditor::setDirty(false); - connect(this, SIGNAL(textChanged()), this, SLOT(slotTextChanged())); + connect(this, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotTextChanged())); } void KexiScriptEditor::slotTextChanged() |