From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kspell2/ui/highlighter.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kspell2/ui/highlighter.h') diff --git a/kspell2/ui/highlighter.h b/kspell2/ui/highlighter.h index 86140f054..c9a832f3a 100644 --- a/kspell2/ui/highlighter.h +++ b/kspell2/ui/highlighter.h @@ -23,7 +23,7 @@ #include "filter.h" -#include +#include class QTextEdit; @@ -32,19 +32,19 @@ namespace KSpell2 class Highlighter : public QSyntaxHighlighter { public: - Highlighter( QTextEdit *textEdit, - const QString& configFile = QString::null, + Highlighter( TQTextEdit *textEdit, + const TQString& configFile = TQString::null, Filter *filter = Filter::defaultFilter() ); ~Highlighter(); - virtual int highlightParagraph( const QString& text, + virtual int highlightParagraph( const TQString& text, int endStateOfLastPara ); Filter *currentFilter() const; void setCurrentFilter( Filter *filter ); - QString currentLanguage() const; - void setCurrentLanguage( const QString& lang ); + TQString currentLanguage() const; + void setCurrentLanguage( const TQString& lang ); protected: virtual void setMisspelled( int start, int count ); -- cgit v1.2.1