File indexing completed on 2024-10-06 04:34:01
0001 /* 0002 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "libruqola_private_export.h" 0010 #include <QDebug> 0011 class LIBRUQOLACORE_TESTS_EXPORT MessageStarred 0012 { 0013 public: 0014 MessageStarred(); 0015 [[nodiscard]] bool isStarred() const; 0016 void setIsStarred(bool isStarred); 0017 0018 [[nodiscard]] bool operator==(MessageStarred other) const; 0019 void parse(const QJsonObject &o); 0020 0021 private: 0022 bool mIsStarred = false; 0023 }; 0024 LIBRUQOLACORE_EXPORT QDebug operator<<(QDebug d, MessageStarred t);