File indexing completed on 2025-03-09 04:54:37
0001 /* 0002 SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 #pragma once 0007 0008 #include <QComboBox> 0009 0010 #include "messageviewer_private_export.h" 0011 #include "remotecontentinfo.h" 0012 namespace MessageViewer 0013 { 0014 class MESSAGEVIEWER_TESTS_EXPORT RemoteContentStatusTypeComboBox : public QComboBox 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit RemoteContentStatusTypeComboBox(QWidget *parent = nullptr); 0019 ~RemoteContentStatusTypeComboBox() override; 0020 void setStatus(MessageViewer::RemoteContentInfo::RemoteContentInfoStatus type); 0021 [[nodiscard]] RemoteContentInfo::RemoteContentInfoStatus status() const; 0022 }; 0023 }