File indexing completed on 2025-01-19 03:53:49
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2009-05-28 0007 * Description : database statistics dialog 0008 * 0009 * SPDX-FileCopyrightText: 2009-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #ifndef DIGIKAM_DB_STAT_DLG_H 0016 #define DIGIKAM_DB_STAT_DLG_H 0017 0018 // Local includes 0019 0020 #include "infodlg.h" 0021 #include "coredbconstants.h" 0022 #include "digikam_export.h" 0023 0024 namespace Digikam 0025 { 0026 0027 class DIGIKAM_GUI_EXPORT DBStatDlg : public InfoDlg 0028 { 0029 Q_OBJECT 0030 0031 public: 0032 0033 explicit DBStatDlg(QWidget* const parent); 0034 ~DBStatDlg() override; 0035 0036 private Q_SLOTS: 0037 0038 void slotHelp() override; 0039 0040 private: 0041 0042 int generateItemsList(DatabaseItem::Category category, const QString& title); 0043 }; 0044 0045 } // namespace Digikam 0046 0047 #endif // DIGIKAM_DB_STAT_DLG_H