summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexieditor.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/widget/kexieditor.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/widget/kexieditor.cpp')
-rw-r--r--kexi/widget/kexieditor.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/widget/kexieditor.cpp b/kexi/widget/kexieditor.cpp
index 010008824..ff598a056 100644
--- a/kexi/widget/kexieditor.cpp
+++ b/kexi/widget/kexieditor.cpp
@@ -54,13 +54,13 @@ public:
: KexiSharedActionConnector( proxy, obj )
{
#ifdef KTEXTEDIT_BASED_SQL_EDITOR
- plugSharedAction("edit_cut", TQT_SLOT(cut()));
- plugSharedAction("edit_copy", TQT_SLOT(copy()));
- plugSharedAction("edit_paste", TQT_SLOT(paste()));
- plugSharedAction("edit_clear", TQT_SLOT(clear()));
- plugSharedAction("edit_undo", TQT_SLOT(undo()));
- plugSharedAction("edit_redo", TQT_SLOT(redo()));
- plugSharedAction("edit_select_all", TQT_SLOT(selectAll()));
+ plugSharedAction("edit_cut", TQ_SLOT(cut()));
+ plugSharedAction("edit_copy", TQ_SLOT(copy()));
+ plugSharedAction("edit_paste", TQ_SLOT(paste()));
+ plugSharedAction("edit_clear", TQ_SLOT(clear()));
+ plugSharedAction("edit_undo", TQ_SLOT(undo()));
+ plugSharedAction("edit_redo", TQ_SLOT(redo()));
+ plugSharedAction("edit_select_all", TQ_SLOT(selectAll()));
#else
TQValueList<TQCString> actions;
actions << "edit_cut" << "edit_copy" << "edit_paste" << "edit_clear"
@@ -89,7 +89,7 @@ KexiEditor::KexiEditor(KexiMainWindow *mainWin, TQWidget *parent, const char *na
#ifdef KTEXTEDIT_BASED_SQL_EDITOR
d->view = new KTextEdit( "", TQString(), this, "kexi_editor" );
//adjust font
- connect(d->view, TQT_SIGNAL(textChanged()), this, TQT_SIGNAL(textChanged()));
+ connect(d->view, TQ_SIGNAL(textChanged()), this, TQ_SIGNAL(textChanged()));
TQFont f("Courier");
f.setStyleStrategy(TQFont::PreferAntialias);
f.setPointSize(d->view->font().pointSize());
@@ -116,7 +116,7 @@ KexiEditor::KexiEditor(KexiMainWindow *mainWin, TQWidget *parent, const char *na
}
}
- connect(d->doc, TQT_SIGNAL(textChanged()), this, TQT_SIGNAL(textChanged()));
+ connect(d->doc, TQ_SIGNAL(textChanged()), this, TQ_SIGNAL(textChanged()));
#endif
KexiEditorSharedActionConnector c(this, d->view);
d->view->installEventFilter(this);