| 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 |
#include <QString> |
| 22 |
|
| 23 |
// Local includes |
| 24 |
|
| 25 |
#include "dwizardpage.h" |
| 26 |
|
| 27 |
using namespace Digikam; |
| 28 |
|
| 29 |
namespace DigikamGenericJAlbumPlugin |
| 30 |
{ |
| 31 |
|
| 32 |
class JAlbumSelectionPage : public DWizardPage |
| 33 |
{ |
| 34 |
Q_OBJECT |
| 35 |
|
| 36 |
public: |
| 37 |
|
| 38 |
explicit JAlbumSelectionPage(QWizard* const dialog, const QString& title); |
| 39 |
~JAlbumSelectionPage() override; |
| 40 |
|
| 41 |
void initializePage() override; |
| 42 |
bool validatePage() override; |
| 43 |
bool isComplete() const override; |
| 44 |
|
| 45 |
void setItemsList(const QList<QUrl>& urls); |
| 46 |
|
| 47 |
private: |
| 48 |
|
| 49 |
class Private; |
| 50 |
Private* const d = nullptr; |
| 51 |
}; |
| 52 |
|
| 53 |
} // namespace DigikamGenericJAlbumPlugin |