digiKam
migratefromdigikam4page.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 : 2016-09-29
7  * Description : migration page from digikam4
8  *
9  * Copyright (C) 2016 by Antonio Larrosa <alarrosa at suse 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_MIGRATE_FROM_DIGIKAM4_PAGE_H
25 #define DIGIKAM_MIGRATE_FROM_DIGIKAM4_PAGE_H
26 
27 // Local includes
28 
29 #include "dwizardpage.h"
30 
31 namespace Digikam
32 {
33 
35 {
36  Q_OBJECT
37 
38 public:
39 
40  explicit MigrateFromDigikam4Page(QWizard* const dlg);
41  ~MigrateFromDigikam4Page() override;
42 
46  bool isMigrationChecked() const;
47  void doMigration();
48  int nextId() const override;
49 
53  static bool checkForMigration();
54 
55 public Q_SLOTS:
56 
57  void migrationToggled(bool b);
58 
59 private:
60 
61  class Private;
62  Private* const d;
63 };
64 
65 } // namespace Digikam
66 
67 #endif // DIGIKAM_MIGRATE_FROM_DIGIKAM4_PAGE_H
Definition: dwizardpage.h:42
Definition: migratefromdigikam4page.h:35
int nextId() const override
Definition: migratefromdigikam4page.cpp:254
void migrationToggled(bool b)
Definition: migratefromdigikam4page.cpp:249
bool isMigrationChecked() const
Definition: migratefromdigikam4page.cpp:244
void doMigration()
Definition: migratefromdigikam4page.cpp:128
MigrateFromDigikam4Page(QWizard *const dlg)
Definition: migratefromdigikam4page.cpp:74
static bool checkForMigration()
Definition: migratefromdigikam4page.cpp:266
~MigrateFromDigikam4Page() override
Definition: migratefromdigikam4page.cpp:123
Definition: datefolderview.cpp:43