14#include <QtGui/qsyntaxhighlighter.h>
29 void addRules(
const std::list<SyntaxHighlighterRule>& _rules);
30 void setRules(
const std::list<SyntaxHighlighterRule>& _rules) { m_rules = _rules; };
31 const std::list<SyntaxHighlighterRule>&
getRules(
void)
const {
return m_rules; };
34 virtual void highlightBlock(
const QString& text)
override;
37 std::list<SyntaxHighlighterRule> m_rules;
This file contains defines that may be used simplyfy class creation.
#define OT_DECL_NODEFAULT(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:22
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
Definition SyntaxHighlighter.h:21
const std::list< SyntaxHighlighterRule > & getRules(void) const
Definition SyntaxHighlighter.h:31
void setRules(const std::list< SyntaxHighlighterRule > &_rules)
Definition SyntaxHighlighter.h:30
Definition SyntaxHighlighterRule.h:20