File indexing completed on 2025-01-05 04:49:43

0001 /*
0002    SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 #pragma once
0007 
0008 #include <MessageViewer/HeaderStyle>
0009 
0010 #include <MessageViewer/HeaderStyle_Util>
0011 namespace MessageViewer
0012 {
0013 class EnterpriseHeaderStyle : public HeaderStyle
0014 {
0015 public:
0016     EnterpriseHeaderStyle()
0017         : HeaderStyle()
0018     {
0019     }
0020 
0021     ~EnterpriseHeaderStyle() override = default;
0022 
0023     const char *name() const override;
0024 
0025     [[nodiscard]] QString format(KMime::Message *message) const override;
0026 
0027 private:
0028     mutable QColor mActiveColor;
0029     MessageViewer::HeaderStyleUtil mHeaderStyleUtil;
0030 };
0031 }