File indexing completed on 2025-01-19 03:52:45

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2017-06-27
0007  * Description : a tool to export items by email.
0008  *
0009  * SPDX-FileCopyrightText: 2017-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_MAIL_FINAL_PAGE_H
0016 #define DIGIKAM_MAIL_FINAL_PAGE_H
0017 
0018 // Qt includes
0019 
0020 #include <QString>
0021 
0022 // Local includes
0023 
0024 #include "dwizardpage.h"
0025 
0026 using namespace Digikam;
0027 
0028 namespace DigikamGenericSendByMailPlugin
0029 {
0030 
0031 class MailFinalPage : public DWizardPage
0032 {
0033     Q_OBJECT
0034 
0035 public:
0036 
0037     explicit MailFinalPage(QWizard* const dialog, const QString& title);
0038     ~MailFinalPage() override;
0039 
0040     void initializePage() override;
0041     bool isComplete() const override;
0042     void cleanupPage() override;
0043 
0044 private Q_SLOTS:
0045 
0046     void slotDone();
0047     void slotProcess();
0048     void slotMessage(const QString&, bool);
0049 
0050 private:
0051 
0052     class Private;
0053     Private* const d;
0054 };
0055 
0056 } // namespace DigikamGenericSendByMailPlugin
0057 
0058 #endif // DIGIKAM_MAIL_FINAL_PAGE_H