#include <QtGui/qsyntaxhighlighter.h> #ifndef QSYNTAXHIGHLIGHTER_H #ifndef QT_NO_SYNTAXHIGHLIGHTER class QSyntaxHighlighter: public QObject{ /* Some contents are skipped to improve readability */ protected: int currentBlockState() const /* ... */ }; #endif // QT_NO_SYNTAXHIGHLIGHTER #endif // QSYNTAXHIGHLIGHTER_H