summaryrefslogtreecommitdiffstats
path: root/kommander/editor/assoctexteditorimpl.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 11:42:47 +0900
commit86fed9b788837a7f02086639225c66ecd83065e1 (patch)
tree610edf3b7e43182a7e200a84e2fba357369a1d13 /kommander/editor/assoctexteditorimpl.cpp
parent8954d7640bd43ba663a75334b5d30d3f5f62174b (diff)
downloadtdewebdev-86fed9b788837a7f02086639225c66ecd83065e1.tar.gz
tdewebdev-86fed9b788837a7f02086639225c66ecd83065e1.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9e553028bac0f0d934926318a7b13aa4d8474b27)
Diffstat (limited to 'kommander/editor/assoctexteditorimpl.cpp')
-rw-r--r--kommander/editor/assoctexteditorimpl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kommander/editor/assoctexteditorimpl.cpp b/kommander/editor/assoctexteditorimpl.cpp
index 1c1b7bbe..f42acc2b 100644
--- a/kommander/editor/assoctexteditorimpl.cpp
+++ b/kommander/editor/assoctexteditorimpl.cpp
@@ -89,7 +89,7 @@ AssocTextEditor::AssocTextEditor(TQWidget *a_widget, FormWindow* a_form,
break;
}
- doc = KTextEditor::createDocument ("libkatepart", TQT_TQOBJECT(a_parent), "KTextEditor::Document");
+ doc = KTextEditor::createDocument ("libkatepart", a_parent, "KTextEditor::Document");
TQGridLayout *layout = new TQGridLayout(editorFrame, 1, 1);
view = doc->createView(editorFrame);
layout->addWidget(view, 1,1);
@@ -270,21 +270,21 @@ void AssocTextEditor::save() const
{
TQString text = i18n("Set the \'text association\' of \'%1\'").arg(m_widget->name());
SetPropertyCommand *cmd = new SetPropertyCommand(text, m_formWindow,
- TQT_TQOBJECT(m_widget), m_propertyEditor, "associations", atw->associatedText(),
+ m_widget, m_propertyEditor, "associations", atw->associatedText(),
associatedText(), TQString(), TQString(), false);
cmd->execute();
m_formWindow->commandHistory()->addCommand(cmd);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(m_widget), "associations", true);
+ MetaDataBase::setPropertyChanged(m_widget, "associations", true);
}
if (atw->populationText() != populationText())
{
TQString text = i18n("Set the \'population text\' of \'%1\'").arg(m_widget->name());
- SetPropertyCommand *cmd = new SetPropertyCommand(text, m_formWindow, TQT_TQOBJECT(m_widget),
+ SetPropertyCommand *cmd = new SetPropertyCommand(text, m_formWindow, m_widget,
m_propertyEditor, "populationText", atw->populationText(),
populationText(), TQString(), TQString(), false);
cmd->execute();
m_formWindow->commandHistory()->addCommand(cmd);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(m_widget), "populationText", true);
+ MetaDataBase::setPropertyChanged(m_widget, "populationText", true);
}
}
@@ -305,7 +305,7 @@ TQString AssocTextEditor::populationText() const
TQStringList AssocTextEditor::buildWidgetList()
{
TQStringList widgetList;
- TQObject* thisObject = TQT_TQOBJECT(m_formWindow->mainContainer());
+ TQObject* thisObject = m_formWindow->mainContainer();
TQObjectList *objectList = thisObject->queryList();
objectList->prepend(thisObject);