File indexing completed on 2025-01-05 03:53: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 : intro page to export tool where user can choose web service to export, 0008 * existent accounts and function mode (export/import). 0009 * 0010 * SPDX-FileCopyrightText: 2017-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * SPDX-FileCopyrightText: 2018 by Thanh Trung Dinh <dinhthanhtrung1996 at gmail dot com> 0012 * 0013 * SPDX-License-Identifier: GPL-2.0-or-later 0014 * 0015 * ============================================================ */ 0016 0017 #ifndef DIGIKAM_WS_INTRO_PAGE_H 0018 #define DIGIKAM_WS_INTRO_PAGE_H 0019 0020 // Qt includes 0021 0022 #include <QString> 0023 0024 // Local includes 0025 0026 #include "dwizardpage.h" 0027 0028 using namespace Digikam; 0029 0030 namespace DigikamGenericUnifiedPlugin 0031 { 0032 0033 class WSIntroPage : public DWizardPage 0034 { 0035 Q_OBJECT 0036 0037 public: 0038 0039 explicit WSIntroPage(QWizard* const dialog, const QString& title); 0040 ~WSIntroPage(); 0041 0042 void initializePage(); 0043 bool validatePage(); 0044 0045 private Q_SLOTS: 0046 0047 void slotImageGetOptionChanged(int index); 0048 void slotWebServiceOptionChanged(const QString& serviceName); 0049 0050 private: 0051 0052 class Private; 0053 Private* const d; 0054 }; 0055 0056 } // namespace DigikamGenericUnifiedPlugin 0057 0058 #endif // DIGIKAM_WS_INTRO_PAGE_H