diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 | 
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:22:52 +0900 | 
| commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
| tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /lib/kotext/KoBgSpellCheck.cpp | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.tar.gz koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.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 'lib/kotext/KoBgSpellCheck.cpp')
| -rw-r--r-- | lib/kotext/KoBgSpellCheck.cpp | 26 | 
1 files changed, 13 insertions, 13 deletions
| diff --git a/lib/kotext/KoBgSpellCheck.cpp b/lib/kotext/KoBgSpellCheck.cpp index 6546c51cc..1be095954 100644 --- a/lib/kotext/KoBgSpellCheck.cpp +++ b/lib/kotext/KoBgSpellCheck.cpp @@ -73,12 +73,12 @@ KoBgSpellCheck::KoBgSpellCheck( const Broker::Ptr& broker, TQObject *parent,      d->intraWordPosition = 0;      d->backSpeller = new KoSpell( broker, this, "KoSpell" ); -    connect( d->backSpeller, TQT_SIGNAL(misspelling(const TQString&, int)), -             TQT_SLOT(spellCheckerMisspelling(const TQString &, int )) ); -    connect( d->backSpeller, TQT_SIGNAL(done()), -             TQT_SLOT(spellCheckerDone()) ); -    connect( d->backSpeller, TQT_SIGNAL(aboutToFeedText()), -             TQT_SLOT(slotClearPara()) ); +    connect( d->backSpeller, TQ_SIGNAL(misspelling(const TQString&, int)), +             TQ_SLOT(spellCheckerMisspelling(const TQString &, int )) ); +    connect( d->backSpeller, TQ_SIGNAL(done()), +             TQ_SLOT(spellCheckerDone()) ); +    connect( d->backSpeller, TQ_SIGNAL(aboutToFeedText()), +             TQ_SLOT(slotClearPara()) );  }  KoBgSpellCheck::~KoBgSpellCheck() @@ -90,12 +90,12 @@ void KoBgSpellCheck::registerNewTextObject( KoTextObject *obj )  {      Q_ASSERT( obj ); -    connect( obj, TQT_SIGNAL(paragraphCreated(KoTextParag*)), -             TQT_SLOT(slotParagraphCreated(KoTextParag*)) ); -    connect( obj, TQT_SIGNAL(paragraphModified(KoTextParag*, int, int, int)), -             TQT_SLOT(slotParagraphModified(KoTextParag*, int, int, int)) ); -    connect( obj, TQT_SIGNAL(paragraphDeleted(KoTextParag*)), -             TQT_SLOT(slotParagraphDeleted(KoTextParag*)) ); +    connect( obj, TQ_SIGNAL(paragraphCreated(KoTextParag*)), +             TQ_SLOT(slotParagraphCreated(KoTextParag*)) ); +    connect( obj, TQ_SIGNAL(paragraphModified(KoTextParag*, int, int, int)), +             TQ_SLOT(slotParagraphModified(KoTextParag*, int, int, int)) ); +    connect( obj, TQ_SIGNAL(paragraphDeleted(KoTextParag*)), +             TQ_SLOT(slotParagraphDeleted(KoTextParag*)) );  }  void KoBgSpellCheck::setEnabled( bool b ) @@ -140,7 +140,7 @@ void KoBgSpellCheck::spellCheckerMisspelling( const TQString &old, int pos )      if ( d->startupChecking && d->marked > delayAfterMarked ) {          d->marked = 0; -        TQTimer::singleShot( 1000, this, TQT_SLOT(checkerContinue()) ); +        TQTimer::singleShot( 1000, this, TQ_SLOT(checkerContinue()) );      } else {          if ( d->startupChecking )              ++d->marked; | 
