summaryrefslogtreecommitdiffstats
path: root/tdespell2/ui/highlighter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdespell2/ui/highlighter.cpp')
-rw-r--r--tdespell2/ui/highlighter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdespell2/ui/highlighter.cpp b/tdespell2/ui/highlighter.cpp
index 32970f9e4..080737dae 100644
--- a/tdespell2/ui/highlighter.cpp
+++ b/tdespell2/ui/highlighter.cpp
@@ -87,7 +87,7 @@ int Highlighter::highlightParagraph( const TQString& text,
w = d->filter->nextWord();
}
}
- //TQTimer::singleShot( 0, this, TQT_SLOT(checkWords()) );
+ //TQTimer::singleShot( 0, this, TQ_SLOT(checkWords()) );
return 0;
}
@@ -127,12 +127,12 @@ void Highlighter::setCurrentLanguage( const TQString& lang )
void Highlighter::setMisspelled( int start, int count )
{
- setFormat( start , count, Qt::red );
+ setFormat( start , count, TQt::red );
}
void Highlighter::unsetMisspelled( int start, int count )
{
- setFormat( start, count, Qt::black );
+ setFormat( start, count, TQt::black );
}
/*
@@ -142,7 +142,7 @@ void Highlighter::checkWords()
if ( !w.end ) {
if ( !d->dict->check( w.word ) ) {
setFormat( w.start, w.word.length(),
- Qt::red );
+ TQt::red );
}
}
}*/