File indexing completed on 2024-12-22 05:00:50
0001 /* 0002 SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "archivemailinfo.h" 0010 #include <Akonadi/Collection> 0011 #include <QDialog> 0012 0013 class AddArchiveMailWidget; 0014 class AddArchiveMailDialog : public QDialog 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit AddArchiveMailDialog(ArchiveMailInfo *info, QWidget *parent = nullptr); 0019 ~AddArchiveMailDialog() override; 0020 0021 [[nodiscard]] ArchiveMailInfo *info(); 0022 0023 private: 0024 QPushButton *mOkButton = nullptr; 0025 AddArchiveMailWidget *const mAddArchiveMailWidget; 0026 };