summaryrefslogtreecommitdiffstats
path: root/src/gui/lineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/lineedit.cpp')
-rw-r--r--src/gui/lineedit.cpp4
1 files changed, 2 insertions, 2 deletions
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()));