KSyntaxHighlighting
theme.cpp
49 return isValid() ? QCoreApplication::instance()->translate("Theme", m_data->name().toUtf8().constData()) : QString();
QString translate(const char *context, const char *sourceText, const char *disambiguation, int n)
Theme & operator=(const Theme &other)
Assignment operator, sharing the Theme data with other.
TextStyle
Default styles that can be referenced from syntax definition XML files.
Definition: theme.h:80
QRgb editorColor(EditorColorRole role) const
Returns the editor color for the requested role.
Definition: theme.cpp:102
QRgb backgroundColor(TextStyle style) const
Returns the background color to be used for style.
Definition: theme.cpp:72
bool isItalic(TextStyle style) const
Returns whether the given style should be shown in italic.
Definition: theme.cpp:87
bool isStrikeThrough(TextStyle style) const
Returns whether the given style should be shown struck through.
Definition: theme.cpp:97
QCoreApplication * instance()
Definition: abstracthighlighter.h:20
bool isBold(TextStyle style) const
Returns whether the given style should be shown in bold.
Definition: theme.cpp:82
QRgb selectedBackgroundColor(TextStyle style) const
Returns the background color to be used for selected text for style.
Definition: theme.cpp:77
QRgb selectedTextColor(TextStyle style) const
Returns the selected text color to be used for style.
Definition: theme.cpp:67
bool isUnderline(TextStyle style) const
Returns whether the given style should be shown underlined.
Definition: theme.cpp:92
EditorColorRole
Editor color roles, used to paint line numbers, editor background etc.
Definition: theme.h:163
QRgb textColor(TextStyle style) const
Returns the text color to be used for style.
Definition: theme.cpp:62
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:09:17 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:09:17 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.