diff options
Diffstat (limited to 'kdevdesigner/designer/syntaxhighlighter_html.cpp')
-rw-r--r-- | kdevdesigner/designer/syntaxhighlighter_html.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kdevdesigner/designer/syntaxhighlighter_html.cpp b/kdevdesigner/designer/syntaxhighlighter_html.cpp index cd0c2760..76443305 100644 --- a/kdevdesigner/designer/syntaxhighlighter_html.cpp +++ b/kdevdesigner/designer/syntaxhighlighter_html.cpp @@ -26,20 +26,20 @@ **********************************************************************/ #include "syntaxhighlighter_html.h" -#include "qstring.h" -#include "qmap.h" -#include "qapplication.h" +#include "tqstring.h" +#include "tqmap.h" +#include "tqapplication.h" SyntaxHighlighter_HTML::SyntaxHighlighter_HTML() : QTextPreProcessor(), lastFormat( 0 ), lastFormatId( -1 ) { - QFont f( qApp->font() ); + TQFont f( qApp->font() ); - addFormat(Standard, new QTextFormat(f, qApp->palette().color(QPalette::Active, QColorGroup::Text))); - addFormat(Keyword, new QTextFormat(f, qApp->palette().color(QPalette::Active, QColorGroup::Dark))); - addFormat(Attribute, new QTextFormat(f, qApp->palette().color(QPalette::Active, QColorGroup::Link))); - addFormat(AttribValue, new QTextFormat(f, qApp->palette().color(QPalette::Active, QColorGroup::LinkVisited))); + addFormat(Standard, new QTextFormat(f, qApp->palette().color(TQPalette::Active, TQColorGroup::Text))); + addFormat(Keyword, new QTextFormat(f, qApp->palette().color(TQPalette::Active, TQColorGroup::Dark))); + addFormat(Attribute, new QTextFormat(f, qApp->palette().color(TQPalette::Active, TQColorGroup::Link))); + addFormat(AttribValue, new QTextFormat(f, qApp->palette().color(TQPalette::Active, TQColorGroup::LinkVisited))); } SyntaxHighlighter_HTML::~SyntaxHighlighter_HTML() @@ -59,7 +59,7 @@ void SyntaxHighlighter_HTML::process( QTextDocument *doc, QTextParagraph *string const int StateAttribute = 2; const int StateAttribVal = 3; - QString buffer = ""; + TQString buffer = ""; int state = StateStandard; @@ -73,7 +73,7 @@ void SyntaxHighlighter_HTML::process( QTextDocument *doc, QTextParagraph *string int i = 0; for ( ;; ) { - QChar c = string->at( i )->c; + TQChar c = string->at( i )->c; if ( c == '<' ) { if ( state != StateStandard ) |