| 1 |
/* ============================================================ |
| 2 |
* |
| 3 |
* This file is a part of digiKam project |
| 4 |
* https://www.digikam.org |
| 5 |
* |
| 6 |
* Date : 2006-04-04 |
| 7 |
* Description : a tool to generate jAlbum image galleries |
| 8 |
* |
| 9 |
* SPDX-FileCopyrightText: 2013-2019 by Andrew Goodbody <ajg zero two at elfringham dot co dot uk> |
| 10 |
* |
| 11 |
* SPDX-License-Identifier: GPL-2.0-or-later |
| 12 |
* |
| 13 |
* ============================================================ */ |
| 14 |
|
| 15 |
#pragma once |
| 16 |
|
| 17 |
// Qt includes |
| 18 |
|
| 19 |
#include <QList> |
| 20 |
#include <QUrl> |
| 21 |
|
| 22 |
// Local includes |
| 23 |
|
| 24 |
#include "dwizarddlg.h" |
| 25 |
#include "dinfointerface.h" |
| 26 |
|
| 27 |
using namespace Digikam; |
| 28 |
|
| 29 |
namespace DigikamGenericJAlbumPlugin |
| 30 |
{ |
| 31 |
|
| 32 |
class JAlbumSettings; |
| 33 |
|
| 34 |
/** |
| 35 |
* The wizard used by the user to select the various settings. |
| 36 |
*/ |
| 37 |
class JAlbumWizard : public DWizardDlg |
| 38 |
{ |
| 39 |
Q_OBJECT |
| 40 |
|
| 41 |
public: |
| 42 |
|
| 43 |
explicit JAlbumWizard(QWidget* const parent, DInfoInterface* const iface = nullptr); |
| 44 |
~JAlbumWizard() override; |
| 45 |
|
| 46 |
JAlbumSettings* settings() const; |
| 47 |
|
| 48 |
bool validateCurrentPage() override; |
| 49 |
int nextId() const override; |
| 50 |
|
| 51 |
void setItemsList(const QList<QUrl>& urls); |
| 52 |
|
| 53 |
private: |
| 54 |
|
| 55 |
class Private; |
| 56 |
Private* const d = nullptr; |
| 57 |
}; |
| 58 |
|
| 59 |
} // namespace DigikamGenericJAlbumPlugin |