diff options
Diffstat (limited to 'qt/qextscintillalexerjavascript.cpp')
-rw-r--r-- | qt/qextscintillalexerjavascript.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/qt/qextscintillalexerjavascript.cpp b/qt/qextscintillalexerjavascript.cpp index ee46092..2969d14 100644 --- a/qt/qextscintillalexerjavascript.cpp +++ b/qt/qextscintillalexerjavascript.cpp @@ -3,27 +3,27 @@ // Copyright (c) 2006 // Riverbank Computing Limited <[email protected]> // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2, or (at your option) any // later version. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more // details. // // You should have received a copy of the GNU General Public License along with -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include <qcolor.h> -#include <qfont.h> +#include <tqcolor.h> +#include <tqfont.h> -#include "qextscintillalexerjavascript.h" +#include "tqextscintillalexerjavascript.h" // The list of JavaScript keywords that can be used by other friendly lexers. @@ -37,7 +37,7 @@ const char *QextScintillaLexerJavaScript::keywordClass = // The ctor. -QextScintillaLexerJavaScript::QextScintillaLexerJavaScript(QObject *parent,const char *name) +QextScintillaLexerJavaScript::QextScintillaLexerJavaScript(TQObject *parent,const char *name) : QextScintillaLexerCPP(parent,name) { } @@ -57,10 +57,10 @@ const char *QextScintillaLexerJavaScript::language() const // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerJavaScript::color(int style) const +TQColor QextScintillaLexerJavaScript::color(int style) const { if (style == Regex) - return QColor(0x3f,0x7f,0x3f); + return TQColor(0x3f,0x7f,0x3f); return QextScintillaLexerCPP::color(style); } @@ -77,13 +77,13 @@ bool QextScintillaLexerJavaScript::eolFill(int style) const // Returns the font of the text for a style. -QFont QextScintillaLexerJavaScript::font(int style) const +TQFont QextScintillaLexerJavaScript::font(int style) const { if (style == Regex) #if defined(Q_OS_WIN) - return QFont("Courier New",10); + return TQFont("Courier New",10); #else - return QFont("Bitstream Vera Sans Mono",9); + return TQFont("Bitstream Vera Sans Mono",9); #endif return QextScintillaLexerCPP::font(style); @@ -101,7 +101,7 @@ const char *QextScintillaLexerJavaScript::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerJavaScript::description(int style) const +TQString QextScintillaLexerJavaScript::description(int style) const { if (style == Regex) return tr("Regular expression"); @@ -111,10 +111,10 @@ QString QextScintillaLexerJavaScript::description(int style) const // Returns the background colour of the text for a style. -QColor QextScintillaLexerJavaScript::paper(int style) const +TQColor QextScintillaLexerJavaScript::paper(int style) const { if (style == Regex) - return QColor(0xe0,0xf0,0xff); + return TQColor(0xe0,0xf0,0xff); return QextScintillaLexer::paper(style); } |