KSyntaxHighlighting
8 #ifndef KSYNTAXHIGHLIGHTING_FORMAT_H
9 #define KSYNTAXHIGHLIGHTING_FORMAT_H
11 #include "ksyntaxhighlighting_export.h"
14 #include <QExplicitlySharedDataPointer>
33 class KSYNTAXHIGHLIGHTING_EXPORT
Format
75 bool isDefaultTextStyle(
const Theme &theme)
const;
80 bool hasTextColor(
const Theme &theme)
const;
92 bool hasBackgroundColor(
const Theme &theme)
const;
100 QColor selectedBackgroundColor(
const Theme &theme)
const;
105 bool isBold(
const Theme &theme)
const;
109 bool isItalic(
const Theme &theme)
const;
113 bool isUnderline(
const Theme &theme)
const;
117 bool isStrikeThrough(
const Theme &theme)
const;
122 bool spellCheck()
const;
130 bool hasBoldOverride()
const;
138 bool hasItalicOverride()
const;
146 bool hasUnderlineOverride()
const;
154 bool hasStrikeThroughOverride()
const;
162 bool hasTextColorOverride()
const;
170 bool hasBackgroundColorOverride()
const;
178 bool hasSelectedTextColorOverride()
const;
186 bool hasSelectedBackgroundColorOverride()
const;
189 friend class FormatPrivate;
198 #endif // KSYNTAXHIGHLIGHTING_FORMAT_H
TextStyle
Default styles that can be referenced from syntax definition XML files.
Color theme definition used for highlighting.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Nov 30 2023 04:01:46 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.