diff options
Diffstat (limited to 'qt/qextscintillalexertex.cpp')
-rw-r--r-- | qt/qextscintillalexertex.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/qt/qextscintillalexertex.cpp b/qt/qextscintillalexertex.cpp index 4cf2848..1e8a1c5 100644 --- a/qt/qextscintillalexertex.cpp +++ b/qt/qextscintillalexertex.cpp @@ -3,32 +3,32 @@ // 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 <qsettings.h> +#include <tqcolor.h> +#include <tqfont.h> +#include <tqsettings.h> -#include "qextscintillalexertex.h" +#include "tqextscintillalexertex.h" // The ctor. -QextScintillaLexerTeX::QextScintillaLexerTeX(QObject *parent,const char *name) +QextScintillaLexerTeX::QextScintillaLexerTeX(TQObject *parent,const char *name) : QextScintillaLexer(parent,name) { } @@ -57,29 +57,29 @@ const char *QextScintillaLexerTeX::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerTeX::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\\@"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ\\@"; } // Returns the foreground colour of the text for a style. -QColor QextScintillaLexerTeX::color(int style) const +TQColor QextScintillaLexerTeX::color(int style) const { switch (style) { case Default: - return QColor(0x3f,0x3f,0x3f); + return TQColor(0x3f,0x3f,0x3f); case Special: - return QColor(0x00,0x7f,0x7f); + return TQColor(0x00,0x7f,0x7f); case Group: - return QColor(0x7f,0x00,0x00); + return TQColor(0x7f,0x00,0x00); case Symbol: - return QColor(0x7f,0x7f,0x00); + return TQColor(0x7f,0x7f,0x00); case Command: - return QColor(0x00,0x7f,0x00); + return TQColor(0x00,0x7f,0x00); } return QextScintillaLexer::color(style); @@ -137,7 +137,7 @@ const char *QextScintillaLexerTeX::keywords(int set) const "overwithdelims pagedepth pagefilllstretch " "pagefillstretch pagefilstretch pagegoal pageshrink " "pagestretch pagetotal par parfillskip parindent " - "parshape parskip patterns pausing penalty " + "partqshape parskip patterns pausing penalty " "postdisplaypenalty predisplaypenalty predisplaysize " "pretolerance prevdepth prevgraf radical raise read " "relax relpenalty right righthyphenmin rightskip " @@ -179,7 +179,7 @@ const char *QextScintillaLexerTeX::keywords(int set) const // Returns the user name of a style. -QString QextScintillaLexerTeX::description(int style) const +TQString QextScintillaLexerTeX::description(int style) const { switch (style) { @@ -202,5 +202,5 @@ QString QextScintillaLexerTeX::description(int style) const return tr("Text"); } - return QString::null; + return TQString(); } |