File indexing completed on 2025-01-05 03:52:08
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2006-04-04 0007 * Description : a tool to generate jAlbum image galleries 0008 * 0009 * SPDX-FileCopyrightText: 2013-2019 by Andrew Goodbody <ajg zero two at elfringham dot co dot uk> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #ifndef DIGIKAM_JALBUM_WIZARD_H 0016 #define DIGIKAM_JALBUM_WIZARD_H 0017 0018 // Qt includes 0019 0020 #include <QList> 0021 #include <QUrl> 0022 0023 // Local includes 0024 0025 #include "dwizarddlg.h" 0026 #include "dinfointerface.h" 0027 0028 using namespace Digikam; 0029 0030 namespace DigikamGenericJAlbumPlugin 0031 { 0032 0033 class JAlbumSettings; 0034 0035 /** 0036 * The wizard used by the user to select the various settings. 0037 */ 0038 class JAlbumWizard : public DWizardDlg 0039 { 0040 Q_OBJECT 0041 0042 public: 0043 0044 explicit JAlbumWizard(QWidget* const parent, DInfoInterface* const iface = nullptr); 0045 ~JAlbumWizard() override; 0046 0047 JAlbumSettings* settings() const; 0048 0049 bool validateCurrentPage() override; 0050 int nextId() const override; 0051 0052 void setItemsList(const QList<QUrl>& urls); 0053 0054 private: 0055 0056 class Private; 0057 Private* const d; 0058 }; 0059 0060 } // namespace DigikamGenericJAlbumPlugin 0061 0062 #endif // DIGIKAM_JALBUM_WIZARD_H