From 727a2e58bc79c09f53766110fb7c31d3f3af1e46 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 14 Dec 2023 21:19:13 +0900 Subject: Remove various '#define' strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit 3d581777cdf9c0ff8dc7e757a2cd576f69e96b51) --- src/gui/lineedit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/lineedit.cpp') diff --git a/src/gui/lineedit.cpp b/src/gui/lineedit.cpp index 1da38ca..1096671 100644 --- a/src/gui/lineedit.cpp +++ b/src/gui/lineedit.cpp @@ -28,7 +28,7 @@ LineEdit::LineEdit(TQWidget* parent_, const char* name_) : KLineEdit(parent_, na , m_allowSpellCheck(false) , m_enableSpellCheck(true) , m_spell(0) { - m_spellAction = KStdAction::spelling(TQT_TQOBJECT(this), TQT_SLOT(slotCheckSpelling()), new TDEActionCollection(this)); + m_spellAction = KStdAction::spelling(this, TQT_SLOT(slotCheckSpelling()), new TDEActionCollection(this)); } void LineEdit::clear() { @@ -110,7 +110,7 @@ void LineEdit::slotCheckSpelling() { delete m_spell; // re-use the action string to get translations m_spell = new KSpell(this, m_spellAction->text(), - TQT_TQOBJECT(this), TQT_SLOT(slotSpellCheckReady(KSpell*)), 0, true, true); + this, TQT_SLOT(slotSpellCheckReady(KSpell*)), 0, true, true); connect(m_spell, TQT_SIGNAL(death()), TQT_SLOT(spellCheckerFinished())); -- cgit v1.2.3