summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/widgetfactory.cpp
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-13 20:22:52 +0900
commite1b37ac1936f81994a2c1aa2778298fbc757531f (patch)
tree2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kexi/formeditor/widgetfactory.cpp
parentd08f80f854355e446d1c6be0eb50166646f7f291 (diff)
downloadkoffice-e1b37ac1.tar.gz
koffice-e1b37ac1.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'kexi/formeditor/widgetfactory.cpp')
-rw-r--r--kexi/formeditor/widgetfactory.cpp14
1 files changed, 7 insertions, 7 deletions
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