digiKam
firstrundlg.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_FIRST_RUN_DLG_H
25 #define DIGIKAM_FIRST_RUN_DLG_H
26 
27 // Qt includes
28 
29 #include <QString>
30 #include <QWidget>
31 #include <QWizard>
32 
33 // Local includes
34 
35 #include "digikam_export.h"
36 #include "dbengineparameters.h"
37 
38 namespace Digikam
39 {
40 
41 class DIGIKAM_GUI_EXPORT FirstRunDlg : public QWizard
42 {
43  Q_OBJECT
44 
45 public:
46 
47  explicit FirstRunDlg(QWidget* const parent = nullptr);
48  ~FirstRunDlg() override;
49 
50  QString firstAlbumPath() const;
51  DbEngineParameters getDbEngineParameters() const;
52 
53 private:
54 
55  bool validateCurrentPage() override;
56 
57 private Q_SLOTS:
58 
59  void slotFinishPressed();
60  void slotHelp();
61 
62 private:
63 
64  class Private;
65  Private* const d;
66 };
67 
68 } // namespace Digikam
69 
70 #endif // DIGIKAM_FIRST_RUN_DLG_H
Definition: dbengineparameters.h:49
Definition: firstrundlg.h:42
Definition: datefolderview.cpp:43