File indexing completed on 2025-01-05 04:00:08
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2003-05-03 0007 * Description : mime types setup tab. 0008 * 0009 * SPDX-FileCopyrightText: 2004-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_SETUP_MIME_H 0016 #define DIGIKAM_SETUP_MIME_H 0017 0018 // Qt includes 0019 0020 #include <QScrollArea> 0021 0022 namespace Digikam 0023 { 0024 0025 class SetupMime : public QScrollArea 0026 { 0027 Q_OBJECT 0028 0029 public: 0030 0031 explicit SetupMime(QWidget* const parent = nullptr); 0032 ~SetupMime() override; 0033 0034 void applySettings(); 0035 void readSettings(); 0036 0037 private Q_SLOTS: 0038 0039 void slotShowCurrentImageSettings(); 0040 void slotShowCurrentMovieSettings(); 0041 void slotShowCurrentAudioSettings(); 0042 0043 private: 0044 0045 class Private; 0046 Private* const d; 0047 }; 0048 0049 } // namespace Digikam 0050 0051 #endif // DIGIKAM_SETUP_MIME_H