digiKam
dbstatdlg.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-05-28
7  * Description : database statistics 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_DB_STAT_DLG_H
25 #define DIGIKAM_DB_STAT_DLG_H
26 
27 // Local includes
28 
29 #include "infodlg.h"
30 #include "coredbconstants.h"
31 #include "digikam_export.h"
32 
33 namespace Digikam
34 {
35 
36 class DIGIKAM_GUI_EXPORT DBStatDlg : public InfoDlg
37 {
38  Q_OBJECT
39 
40 public:
41 
42  explicit DBStatDlg(QWidget* const parent);
43  ~DBStatDlg() override;
44 
45 private:
46 
47  int generateItemsList(DatabaseItem::Category category, const QString& title);
48 };
49 
50 } // namespace Digikam
51 
52 #endif // DIGIKAM_DB_STAT_DLG_H
Definition: dbstatdlg.h:37
Definition: infodlg.h:44
Category
Definition: coredbconstants.h:95
Definition: datefolderview.cpp:43