Logo Search packages:      
Sourcecode: qtm version File versions  Download package

Public Types | Public Member Functions | Protected Types | Protected Member Functions | Private Attributes

Highlighter Class Reference

List of all members.

Public Types

enum  Construct { Entity, Tag, Comment, LastConstruct = Comment }

Public Member Functions

QTextCharFormat formatFor (Construct construct) const
 Highlighter (QTextDocument *document=0, QObject *parent=0)
void setFormatFor (Construct construct, const QTextCharFormat &format)

Protected Types

enum  State { NormalState = -1, InComment, InTag }

Protected Member Functions

virtual void highlightBlock (const QString &)

Private Attributes

QMap< Construct, QTextCharFormat > m_formats

Detailed Description

Definition at line 15 of file Highlighter.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index