TextUtils::TextUtilsColorsAndMessageViewStyle Class

The TextUtilsColorsAndMessageViewStyle class Author: Laurent Montel <montel@kde.org>. More...

Header: #include <TextUtils/TextUtilsColorsAndMessageViewStyle>
CMake: find_package(KF6TextUtils REQUIRED)
target_link_libraries(mytarget PRIVATE KF6::TextUtils)
Inherits: QObject

Public Functions

TextUtilsColorsAndMessageViewStyle()
const KColorScheme &schemeView() const
const KColorScheme &schemeWindow() const

Signals

Static Public Members

TextUtils::TextUtilsColorsAndMessageViewStyle &self()

Reimplemented Protected Functions

virtual bool eventFilter(QObject *obj, QEvent *event) override

Detailed Description

Member Function Documentation

TextUtilsColorsAndMessageViewStyle::TextUtilsColorsAndMessageViewStyle()

Constructs a new TextUtilsColorsAndMessageViewStyle instance

[override virtual protected] bool TextUtilsColorsAndMessageViewStyle::eventFilter(QObject *obj, QEvent *event)

Reimplements: QObject::eventFilter(QObject *watched, QEvent *event).

Handles events for the color scheme update obj The object that received the event event The event Returns true if the event was handled

[signal] void TextUtilsColorsAndMessageViewStyle::needToUpdateColors()

Emitted when colors need to be updated

[signal] void TextUtilsColorsAndMessageViewStyle::needUpdateFontSize()

Emitted when font size needs to be updated

[signal] void TextUtilsColorsAndMessageViewStyle::needUpdateMessageStyle()

Emitted when message style needs to be updated

const KColorScheme &TextUtilsColorsAndMessageViewStyle::schemeView() const

Returns the view color scheme Returns KColorScheme for view

const KColorScheme &TextUtilsColorsAndMessageViewStyle::schemeWindow() const

Returns the window color scheme Returns KColorScheme for window

[static] TextUtils::TextUtilsColorsAndMessageViewStyle &TextUtilsColorsAndMessageViewStyle::self()

Returns the singleton instance of TextUtilsColorsAndMessageViewStyle Returns Reference to the singleton instance