summaryrefslogtreecommitdiffstats
path: root/qt/qextscintillalexercsharp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-30 12:33:18 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-30 12:33:18 -0600
commit03bc485016127d419bbbbc3cfb09e21e8754b383 (patch)
treecad8234bcf26063239ac7a565298b897ffdeef57 /qt/qextscintillalexercsharp.cpp
parent664e37abfe5c796c1279b8295fb030f126b0a7d8 (diff)
downloadtqscintilla-03bc485016127d419bbbbc3cfb09e21e8754b383.tar.gz
tqscintilla-03bc485016127d419bbbbc3cfb09e21e8754b383.zip
Initial automated TQt conversion
Diffstat (limited to 'qt/qextscintillalexercsharp.cpp')
-rw-r--r--qt/qextscintillalexercsharp.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/qt/qextscintillalexercsharp.cpp b/qt/qextscintillalexercsharp.cpp
index 7a8a21c..2497b46 100644
--- a/qt/qextscintillalexercsharp.cpp
+++ b/qt/qextscintillalexercsharp.cpp
@@ -3,31 +3,31 @@
// Copyright (c) 2006
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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 "qextscintillalexercsharp.h"
+#include "tqextscintillalexercsharp.h"
// The ctor.
-QextScintillaLexerCSharp::QextScintillaLexerCSharp(QObject *parent,const char *name)
+QextScintillaLexerCSharp::QextScintillaLexerCSharp(TQObject *parent,const char *name)
: QextScintillaLexerCPP(parent,name)
{
}
@@ -47,10 +47,10 @@ const char *QextScintillaLexerCSharp::language() const
// Returns the foreground colour of the text for a style.
-QColor QextScintillaLexerCSharp::color(int style) const
+TQColor QextScintillaLexerCSharp::color(int style) const
{
if (style == VerbatimString)
- return QColor(0x00,0x7f,0x00);
+ return TQColor(0x00,0x7f,0x00);
return QextScintillaLexerCPP::color(style);
}
@@ -67,13 +67,13 @@ bool QextScintillaLexerCSharp::eolFill(int style) const
// Returns the font of the text for a style.
-QFont QextScintillaLexerCSharp::font(int style) const
+TQFont QextScintillaLexerCSharp::font(int style) const
{
if (style == VerbatimString)
#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);
@@ -99,7 +99,7 @@ const char *QextScintillaLexerCSharp::keywords(int set) const
// Returns the user name of a style.
-QString QextScintillaLexerCSharp::description(int style) const
+TQString QextScintillaLexerCSharp::description(int style) const
{
if (style == VerbatimString)
return tr("Verbatim string");
@@ -109,10 +109,10 @@ QString QextScintillaLexerCSharp::description(int style) const
// Returns the background colour of the text for a style.
-QColor QextScintillaLexerCSharp::paper(int style) const
+TQColor QextScintillaLexerCSharp::paper(int style) const
{
if (style == VerbatimString)
- return QColor(0xe0,0xff,0xe0);
+ return TQColor(0xe0,0xff,0xe0);
return QextScintillaLexer::paper(style);
}