1 #ifndef __libquark_syntax_SyntaxHighlighterTheme_hxx 2 #define __libquark_syntax_SyntaxHighlighterTheme_hxx 6 #include <QTextCharFormat> 47 void setFormatForElement(
const QString &element,
48 const QTextCharFormat &format);
53 QTextCharFormat formatForElement(
const QString &element)
const;
56 QStringList elements()
const;
61 QMap<QString, QTextCharFormat> _formats;
67 #endif // __libquark_syntax_SyntaxHighlighterTheme_hxx A base class for objects that can emit a signal when their internal state changes in some way...
Definition: MutableObject.h++:17
Definition: BarChartView.h++:6
QString name() const
Returns the name of the theme.
Definition: SyntaxHighlighterTheme.h++:34
void setName(const QString &name)
Sets the name of the theme.
Definition: SyntaxHighlighterTheme.h++:38
#define LIBQUARK_API
Definition: Quark.h++:18
A representation of a highlighting theme for a SyntaxHighlighter.
Definition: SyntaxHighlighterTheme.h++:20