File indexing completed on 2025-01-05 03:57:55

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2017-05-06
0007  * Description : interface to item information for Showfoto
0008  *
0009  * SPDX-FileCopyrightText: 2017-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  * SPDX-FileCopyrightText: 2019-2020 by Minh Nghia Duong <minhnghiaduong997 at gmail dot com>
0011  *
0012  * SPDX-License-Identifier: GPL-2.0-or-later
0013  *
0014  * ============================================================ */
0015 
0016 #include "showfotoinfoiface.h"
0017 
0018 // KDE includes
0019 
0020 #include <klocalizedstring.h>
0021 
0022 // Local includes
0023 
0024 #include "showfotosetup.h"
0025 #include "digikam_debug.h"
0026 
0027 namespace ShowFoto
0028 {
0029 
0030 ShowfotoInfoIface::ShowfotoInfoIface(QObject* const parent, const QList<QUrl>& lst)
0031     : DMetaInfoIface(parent, lst)
0032 {
0033 }
0034 
0035 ShowfotoInfoIface::~ShowfotoInfoIface()
0036 {
0037 }
0038 
0039 void ShowfotoInfoIface::openSetupPage(SetupPage page)
0040 {
0041     switch (page)
0042     {
0043         case ExifToolPage:
0044         {
0045             if (ShowfotoSetup::execExifTool(nullptr))
0046             {
0047                 Q_EMIT signalSetupChanged();
0048             }
0049         }
0050 
0051         default:
0052         {
0053         }
0054     }
0055 }
0056 
0057 } // namespace ShowFoto
0058 
0059 #include "moc_showfotoinfoiface.cpp"