File indexing completed on 2025-03-09 04:47:25
0001 /* 0002 SPDX-FileCopyrightText: 2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "folderarchiveaccountinfo.h" 0010 #include "folderarchivesettings_private_export.h" 0011 0012 #include <QComboBox> 0013 0014 class FOLDERARCHIVESETTINGS_TESTS_EXPORT FolderArchiveComboBox : public QComboBox 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit FolderArchiveComboBox(QWidget *parent = nullptr); 0019 ~FolderArchiveComboBox() override; 0020 0021 void setType(FolderArchiveAccountInfo::FolderArchiveType type); 0022 [[nodiscard]] FolderArchiveAccountInfo::FolderArchiveType type() const; 0023 0024 private: 0025 void initialize(); 0026 };