From e1b37ac1936f81994a2c1aa2778298fbc757531f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:30:32 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf) --- kexi/formeditor/widgetfactory.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kexi/formeditor/widgetfactory.cpp') diff --git a/kexi/formeditor/widgetfactory.cpp b/kexi/formeditor/widgetfactory.cpp index 6611be2f8..b4825825f 100644 --- a/kexi/formeditor/widgetfactory.cpp +++ b/kexi/formeditor/widgetfactory.cpp @@ -222,9 +222,9 @@ WidgetFactory::createEditor(const TQCString &classname, const TQString &text, textedit->selectAll(); setEditor(w, textedit); - connect(textedit, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotTextChanged())); - connect(w, TQT_SIGNAL(destroyed()), this, TQT_SLOT(widgetDestroyed())); - connect(textedit, TQT_SIGNAL(destroyed()), this, TQT_SLOT(editorDeleted())); + connect(textedit, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotTextChanged())); + connect(w, TQ_SIGNAL(destroyed()), this, TQ_SLOT(widgetDestroyed())); + connect(textedit, TQ_SIGNAL(destroyed()), this, TQ_SLOT(editorDeleted())); //#else } else { @@ -243,9 +243,9 @@ WidgetFactory::createEditor(const TQCString &classname, const TQString &text, editor->show(); editor->setFocus(); editor->selectAll(); - connect(editor, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changeTextInternal(const TQString&))); - connect(w, TQT_SIGNAL(destroyed()), this, TQT_SLOT(widgetDestroyed())); - connect(editor, TQT_SIGNAL(destroyed()), this, TQT_SLOT(editorDeleted())); + connect(editor, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(changeTextInternal(const TQString&))); + connect(w, TQ_SIGNAL(destroyed()), this, TQ_SLOT(widgetDestroyed())); + connect(editor, TQ_SIGNAL(destroyed()), this, TQ_SLOT(editorDeleted())); setEditor(w, editor); // m_editor = editor; @@ -308,7 +308,7 @@ WidgetFactory::disableFilter(TQWidget *w, Container *container) w->setPalette(p); } - connect(w, TQT_SIGNAL(destroyed()), this, TQT_SLOT(widgetDestroyed())); + connect(w, TQ_SIGNAL(destroyed()), this, TQ_SLOT(widgetDestroyed())); } bool -- cgit v1.2.3