summaryrefslogtreecommitdiffstats
path: root/kspell2/ui/highlighter.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kspell2/ui/highlighter.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspell2/ui/highlighter.h')
-rw-r--r--kspell2/ui/highlighter.h12
1 files changed, 6 insertions, 6 deletions
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 <qsyntaxhighlighter.h>
+#include <tqsyntaxhighlighter.h>
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 );