diff options
Diffstat (limited to 'utils/wpseditor/gui/src/qsyntaxer.h')
-rw-r--r-- | utils/wpseditor/gui/src/qsyntaxer.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/utils/wpseditor/gui/src/qsyntaxer.h b/utils/wpseditor/gui/src/qsyntaxer.h index 9cecd3e5ed..b85651cf69 100644 --- a/utils/wpseditor/gui/src/qsyntaxer.h +++ b/utils/wpseditor/gui/src/qsyntaxer.h @@ -1,21 +1,21 @@ -#ifndef QSYNTAXER_H
-#define QSYNTAXER_H
-//
-#include <QSyntaxHighlighter>
-
-class QTextCharFormat;
-
-class QSyntaxer : public QSyntaxHighlighter {
- Q_OBJECT
- struct HighlightingRule {
- QRegExp pattern;
- QTextCharFormat format;
- };
- QMap<QString,HighlightingRule> hrules;
-public:
- QSyntaxer(QTextDocument *parent = 0);
-
-protected:
- void highlightBlock(const QString &text);
-};
-#endif
+#ifndef QSYNTAXER_H +#define QSYNTAXER_H +// +#include <QSyntaxHighlighter> + +class QTextCharFormat; + +class QSyntaxer : public QSyntaxHighlighter { + Q_OBJECT + struct HighlightingRule { + QRegExp pattern; + QTextCharFormat format; + }; + QMap<QString,HighlightingRule> hrules; +public: + QSyntaxer(QTextDocument *parent = 0); + +protected: + void highlightBlock(const QString &text); +}; +#endif |