MessageCore::ColorUtil Class
class MessageCore::ColorUtilThe ColorUtil class. More...
| Header: | #include <MessageCore/ColorUtil> |
| CMake: | find_package(KPim6MessageCore REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::MessageCore) |
Public Functions
| ColorUtil() | |
| QColor | linkColor() const |
| QColor | misspelledDefaultTextColor() const |
| QColor | pgpEncryptedMessageColor() const |
| QColor | pgpEncryptedTextColor() const |
| QColor | pgpSignedBadMessageColor() const |
| QColor | pgpSignedBadTextColor() const |
| QColor | pgpSignedTrustedMessageColor() const |
| QColor | pgpSignedTrustedTextColor() const |
| QColor | pgpSignedUntrustedMessageColor() const |
| QColor | pgpSignedUntrustedTextColor() const |
| QColor | quoteLevel1DefaultTextColor() const |
| QColor | quoteLevel2DefaultTextColor() const |
| QColor | quoteLevel3DefaultTextColor() const |
| void | updateColors() |
Static Public Members
| MessageCore::ColorUtil * | self() |
Detailed Description
Member Function Documentation
ColorUtil::ColorUtil()
Creates a new ColorUtil instance.
QColor ColorUtil::linkColor() const
Returns the color for links.
QColor ColorUtil::misspelledDefaultTextColor() const
Returns the default text color for misspelled words.
QColor ColorUtil::pgpEncryptedMessageColor() const
Returns the message background color for PGP encrypted messages.
QColor ColorUtil::pgpEncryptedTextColor() const
Returns the text color for PGP encrypted messages.
QColor ColorUtil::pgpSignedBadMessageColor() const
Returns the message background color for bad PGP signed messages.
QColor ColorUtil::pgpSignedBadTextColor() const
Returns the text color for bad PGP signed messages.
QColor ColorUtil::pgpSignedTrustedMessageColor() const
Returns the message background color for trusted PGP signed messages.
QColor ColorUtil::pgpSignedTrustedTextColor() const
Returns the text color for trusted PGP signed messages.
QColor ColorUtil::pgpSignedUntrustedMessageColor() const
Returns the message background color for untrusted PGP signed messages.
QColor ColorUtil::pgpSignedUntrustedTextColor() const
Returns the text color for untrusted PGP signed messages.
QColor ColorUtil::quoteLevel1DefaultTextColor() const
Returns the text color for PGP quote level 1.
QColor ColorUtil::quoteLevel2DefaultTextColor() const
Returns the text color for PGP quote level 2.
QColor ColorUtil::quoteLevel3DefaultTextColor() const
Returns the text color for PGP quote level 3.
[static] MessageCore::ColorUtil *ColorUtil::self()
Returns the singleton instance of ColorUtil.
void ColorUtil::updateColors()
Updates the colors based on current settings.