summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoBgSpellCheck.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoBgSpellCheck.cpp')
-rw-r--r--lib/kotext/KoBgSpellCheck.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/kotext/KoBgSpellCheck.cpp b/lib/kotext/KoBgSpellCheck.cpp
index 6546c51c..1be09595 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;