#ifndef QSYNTAXHIGHLIGHTER_H
#define QSYNTAXHIGHLIGHTER_H
#include <QtCore/qglobal.h>
#ifndef QT_NO_SYNTAXHIGHLIGHTER
#include <QtCore/qobject.h>
#include <QtGui/qtextobject.h>
typedef enum QtValidLicenseForGuiModule QtGuiModule;
struct QSyntaxHighlighterPrivate;
struct QTextEdit;
class QSyntaxHighlighter: public QObject{
public: virtual struct QMetaObject const * metaObject() const
public: static struct QMetaObject const staticMetaObject;
public: virtual void* qt_metacast(char const *);
public: static inline class QString tr(char const * s, char const * c = 0);
public: static inline class QString trUtf8(char const * s, char const * c = 0);
public: static inline class QString tr(char const * s, char const * c, int n);
public: static inline class QString trUtf8(char const * s, char const * c, int n);
public: virtual int qt_metacall(enum QMetaObject::Call, int, void* *);
private: inline struct QSyntaxHighlighterPrivate* d_func();
private: inline struct QSyntaxHighlighterPrivate const * d_func() const
public: QSyntaxHighlighter(class QObject* parent);
public: QSyntaxHighlighter(struct QTextDocument* parent);
public: QSyntaxHighlighter(struct QTextEdit* parent);
public: virtual ~QSyntaxHighlighter();
public: void setDocument(struct QTextDocument* doc);
public: struct QTextDocument* document() const
public: void rehighlight();
protected: virtual void highlightBlock(class QString const & text) = 0;
protected: void setFormat(int start, int count, class QTextCharFormat const & format);
protected: void setFormat(int start, int count, class QColor const & color);
protected: void setFormat(int start, int count, class QFont const & font);
protected: class QTextCharFormat format(int pos) const
protected: int previousBlockState() const
protected: int currentBlockState() const
protected: void setCurrentBlockState(int newState);
protected: void setCurrentBlockUserData(class QTextBlockUserData* data);
protected: class QTextBlockUserData* currentBlockUserData() const
private: QSyntaxHighlighter(class QSyntaxHighlighter const &);
private: class QSyntaxHighlighter& operator =(class QSyntaxHighlighter const &);
friend struct QSyntaxHighlighterPrivate;
};
#endif // QT_NO_SYNTAXHIGHLIGHTER
#endif // QSYNTAXHIGHLIGHTER_H