Main Page   Class Hierarchy   Compound List   Compound Members  

QextScintillaLexerSQL Class Reference

The QextScintillaLexerSQL class encapsulates the Scintilla SQL lexer. More...

#include <qextscintillalexersql.h>

Inherits QextScintillaLexer.

List of all members.

Public Types

Public Methods


Detailed Description

The QextScintillaLexerSQL class encapsulates the Scintilla SQL lexer.


Member Enumeration Documentation

anonymous enum
 

This enum defines the meanings of the different styles used by the SQL lexer.

Enumeration values:
Default  The default.
Comment  A comment.
LineComment  A line comment.
Number  A number.
Keyword  A keyword.
SingleQuotedString  A single-quoted string.
Operator  An operator.
Identifier  An identifier.


Constructor & Destructor Documentation

QextScintillaLexerSQL::QextScintillaLexerSQL QObject *    parent = 0,
const char *    name = 0
 

Construct a QextScintillaLexerSQL with parent parent and name name. parent is typically the QextScintilla instance.

virtual QextScintillaLexerSQL::~QextScintillaLexerSQL   [virtual]
 

Destroys the QextScintillaLexerSQL instance.


Member Function Documentation

const char* QextScintillaLexerSQL::language   [virtual]
 

Returns the name of the language.

Implements QextScintillaLexer.

const char* QextScintillaLexerSQL::lexer   [virtual]
 

Returns the name of the lexer. Some lexers support a number of languages.

Implements QextScintillaLexer.

QColor QextScintillaLexerSQL::color int    style const [virtual]
 

Returns the foreground colour of the text for style number style.

See also:
paper()

Reimplemented from QextScintillaLexer.

QFont QextScintillaLexerSQL::font int    style const [virtual]
 

Returns the font for style number style.

Reimplemented from QextScintillaLexer.

const char* QextScintillaLexerSQL::keywords int    set const [virtual]
 

Returns the set of keywords for the keyword set \set recognised by the lexer as a space separated string.

Reimplemented from QextScintillaLexer.

QString QextScintillaLexerSQL::description int    style const [virtual]
 

Returns the descriptive name for style number style. If the style is invalid for this language then QString::null is returned. This is intended to be used in user preference dialogs.

Implements QextScintillaLexer.


Generated on Fri May 23 08:22:46 2003 for QScintilla by doxygen1.2.18