digiKam
collectionpage.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2009-28-04
7  * Description : first run assistant dialog
8  *
9  * Copyright (C) 2009-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_COLLECTION_PAGE_H
25 #define DIGIKAM_COLLECTION_PAGE_H
26 
27 // Qt includes
28 
29 #include <QString>
30 #include <QUrl>
31 
32 // Local includes
33 
34 #include "dwizardpage.h"
35 
36 namespace Digikam
37 {
38 
40 {
41  Q_OBJECT
42 
43 public:
44 
45  explicit CollectionPage(QWizard* const dlg);
46  ~CollectionPage() override;
47 
48  bool checkSettings();
49  void saveSettings();
50 
51  QString firstAlbumPath() const;
52 
53 private:
54 
55  bool checkRootAlbum(QString& rootAlbumFolder);
56 
57 private:
58 
59  class Private;
60  Private* const d;
61 };
62 
63 } // namespace Digikam
64 
65 #endif // DIGIKAM_COLLECTION_PAGE_H
Definition: collectionpage.h:40
~CollectionPage() override
Definition: collectionpage.cpp:119
bool checkSettings()
Definition: collectionpage.cpp:138
CollectionPage(QWizard *const dlg)
Definition: collectionpage.cpp:69
void saveSettings()
Definition: collectionpage.cpp:129
QString firstAlbumPath() const
Definition: collectionpage.cpp:124
Definition: dwizardpage.h:42
Definition: datefolderview.cpp:43