diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:31:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-04 10:31:17 +0900 |
commit | c650254e1855d383dcafd15d18be20becc3b2253 (patch) | |
tree | 9c221c2e920b1f8e9098c6047d948833277659de /src/gui/lineedit.cpp | |
parent | 3d581777cdf9c0ff8dc7e757a2cd576f69e96b51 (diff) | |
download | tellico-c650254e1855d383dcafd15d18be20becc3b2253.tar.gz tellico-c650254e1855d383dcafd15d18be20becc3b2253.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gui/lineedit.cpp')
-rw-r--r-- | src/gui/lineedit.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/lineedit.cpp b/src/gui/lineedit.cpp index 1096671..814fee8 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(this, TQT_SLOT(slotCheckSpelling()), new TDEActionCollection(this)); + m_spellAction = KStdAction::spelling(this, TQ_SLOT(slotCheckSpelling()), new TDEActionCollection(this)); } void LineEdit::clear() { @@ -110,19 +110,19 @@ void LineEdit::slotCheckSpelling() { delete m_spell; // re-use the action string to get translations m_spell = new KSpell(this, m_spellAction->text(), - this, TQT_SLOT(slotSpellCheckReady(KSpell*)), 0, true, true); - - connect(m_spell, TQT_SIGNAL(death()), - TQT_SLOT(spellCheckerFinished())); - connect(m_spell, TQT_SIGNAL(misspelling( const TQString &, const TQStringList &, unsigned int)), - TQT_SLOT(spellCheckerMisspelling( const TQString &, const TQStringList &, unsigned int))); - connect(m_spell, TQT_SIGNAL(corrected(const TQString &, const TQString &, unsigned int)), - TQT_SLOT(spellCheckerCorrected(const TQString &, const TQString &, unsigned int))); + this, TQ_SLOT(slotSpellCheckReady(KSpell*)), 0, true, true); + + connect(m_spell, TQ_SIGNAL(death()), + TQ_SLOT(spellCheckerFinished())); + connect(m_spell, TQ_SIGNAL(misspelling( const TQString &, const TQStringList &, unsigned int)), + TQ_SLOT(spellCheckerMisspelling( const TQString &, const TQStringList &, unsigned int))); + connect(m_spell, TQ_SIGNAL(corrected(const TQString &, const TQString &, unsigned int)), + TQ_SLOT(spellCheckerCorrected(const TQString &, const TQString &, unsigned int))); } void LineEdit::slotSpellCheckReady(KSpell* spell) { spell->check(text()); - connect(spell, TQT_SIGNAL(done(const TQString&)), TQT_SLOT(slotSpellCheckDone(const TQString&))); + connect(spell, TQ_SIGNAL(done(const TQString&)), TQ_SLOT(slotSpellCheckDone(const TQString&))); } void LineEdit::slotSpellCheckDone(const TQString& newText) { |