summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting/kexiscripting
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:30:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 12:36:03 +0900
commitc0332621bc998c9786f4841e86a62b7711fe4abf (patch)
tree38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /kexi/plugins/scripting/kexiscripting
parent6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff)
downloadkoffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz
koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/plugins/scripting/kexiscripting')
-rw-r--r--kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp10
-rw-r--r--kexi/plugins/scripting/kexiscripting/kexiscripteditor.cpp4
-rw-r--r--kexi/plugins/scripting/kexiscripting/kexiscriptpart.cpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp b/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp
index 4348aae2..b6cf85f4 100644
--- a/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp
+++ b/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp
@@ -88,18 +88,18 @@ KexiScriptDesignView::KexiScriptDesignView(KexiMainWindow *mainWin, TQWidget *pa
d->statusbrowser->installEventFilter(this);
splitter->setResizeMode(d->statusbrowser, TQSplitter::KeepSize);
- plugSharedAction( "data_execute", this, TQT_SLOT(execute()) );
+ plugSharedAction( "data_execute", this, TQ_SLOT(execute()) );
if(KexiEditor::isAdvancedEditor()) // the configeditor is only in advanced mode avaiable.
- plugSharedAction( "script_config_editor", d->editor, TQT_SLOT(slotConfigureEditor()) );
+ plugSharedAction( "script_config_editor", d->editor, TQ_SLOT(slotConfigureEditor()) );
loadData();
d->properties = new KoProperty::Set(this, "KexiScripting");
- connect(d->properties, TQT_SIGNAL( propertyChanged(KoProperty::Set&, KoProperty::Property&) ),
- this, TQT_SLOT( slotPropertyChanged(KoProperty::Set&, KoProperty::Property&) ));
+ connect(d->properties, TQ_SIGNAL( propertyChanged(KoProperty::Set&, KoProperty::Property&) ),
+ this, TQ_SLOT( slotPropertyChanged(KoProperty::Set&, KoProperty::Property&) ));
// To schedule the initialize fixes a crasher in Kate.
- TQTimer::singleShot(50, this, TQT_SLOT( initialize() ));
+ TQTimer::singleShot(50, this, TQ_SLOT( initialize() ));
}
KexiScriptDesignView::~KexiScriptDesignView()
diff --git a/kexi/plugins/scripting/kexiscripting/kexiscripteditor.cpp b/kexi/plugins/scripting/kexiscripting/kexiscripteditor.cpp
index 8e4db059..75afc420 100644
--- a/kexi/plugins/scripting/kexiscripting/kexiscripteditor.cpp
+++ b/kexi/plugins/scripting/kexiscripting/kexiscripteditor.cpp
@@ -62,7 +62,7 @@ void KexiScriptEditor::initialize(Kross::Api::ScriptAction* scriptaction)
d->scriptaction = scriptaction;
Q_ASSERT(d->scriptaction);
- disconnect(this, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotTextChanged()));
+ disconnect(this, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotTextChanged()));
TQString code = d->scriptaction->getCode();
if(code.isNull()) {
@@ -85,7 +85,7 @@ void KexiScriptEditor::initialize(Kross::Api::ScriptAction* scriptaction)
clearUndoRedo();
KexiEditor::setDirty(false);
- connect(this, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotTextChanged()));
+ connect(this, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotTextChanged()));
}
void KexiScriptEditor::slotTextChanged()
diff --git a/kexi/plugins/scripting/kexiscripting/kexiscriptpart.cpp b/kexi/plugins/scripting/kexiscripting/kexiscriptpart.cpp
index fe3453ab..22527f53 100644
--- a/kexi/plugins/scripting/kexiscripting/kexiscriptpart.cpp
+++ b/kexi/plugins/scripting/kexiscripting/kexiscriptpart.cpp
@@ -102,7 +102,7 @@ bool KexiScriptPart::execute(KexiPart::Item* item, TQObject* sender)
}
if(exec) {
- //TQTimer::singleShot(10, scriptaction, TQT_SLOT(activate()));
+ //TQTimer::singleShot(10, scriptaction, TQ_SLOT(activate()));
d->scriptguiclient->executeScriptAction( scriptaction );
}
}