summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-14 21:19:12 +0900
committerMichele Calgaro <[email protected]>2023-12-15 00:43:41 +0900
commit3aab8aa05b954b80e336517f93463a9b5f50f3d6 (patch)
treebe6bb581b1cb695d388cb4be10282514bb067401 /kexi/plugins/scripting
parentfb6b4d204d1155fa3a1bc7a128873340db1524f7 (diff)
downloadkoffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.tar.gz
koffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kexi/plugins/scripting')
-rw-r--r--kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp6
-rw-r--r--kexi/plugins/scripting/kexiscripting/kexiscriptpart.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp b/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp
index 6de68b7d..4348aae2 100644
--- a/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp
+++ b/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp
@@ -88,13 +88,13 @@ KexiScriptDesignView::KexiScriptDesignView(KexiMainWindow *mainWin, TQWidget *pa
d->statusbrowser->installEventFilter(this);
splitter->setResizeMode(d->statusbrowser, TQSplitter::KeepSize);
- plugSharedAction( "data_execute", TQT_TQOBJECT(this), TQT_SLOT(execute()) );
+ plugSharedAction( "data_execute", this, TQT_SLOT(execute()) );
if(KexiEditor::isAdvancedEditor()) // the configeditor is only in advanced mode avaiable.
- plugSharedAction( "script_config_editor", TQT_TQOBJECT(d->editor), TQT_SLOT(slotConfigureEditor()) );
+ plugSharedAction( "script_config_editor", d->editor, TQT_SLOT(slotConfigureEditor()) );
loadData();
- d->properties = new KoProperty::Set(TQT_TQOBJECT(this), "KexiScripting");
+ 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&) ));
diff --git a/kexi/plugins/scripting/kexiscripting/kexiscriptpart.cpp b/kexi/plugins/scripting/kexiscripting/kexiscriptpart.cpp
index b45c97c7..fe3453ab 100644
--- a/kexi/plugins/scripting/kexiscripting/kexiscriptpart.cpp
+++ b/kexi/plugins/scripting/kexiscripting/kexiscriptpart.cpp
@@ -124,7 +124,7 @@ void KexiScriptPart::initPartActions()
// scripting-plugin depends on this instance and loading the plugin will
// fail if it's not avaiable.
if(! Kross::Api::Manager::scriptManager()->hasChild("KexiMainWindow")) {
- Kross::Api::Manager::scriptManager()->addTQObject(TQT_TQOBJECT(m_mainWin), "KexiMainWindow");
+ Kross::Api::Manager::scriptManager()->addTQObject(m_mainWin, "KexiMainWindow");
// Add the TDEAction's provided by the ScriptGUIClient to the
// KexiMainWindow.