File indexing completed on 2025-01-19 03:57:57
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2010-09-17 0007 * Description : Visibility states controller for assignment and confirmation of names for faces 0008 * 0009 * SPDX-FileCopyrightText: 2010 by Aditya Bhatt <adityabhatt1991 at gmail dot com> 0010 * SPDX-FileCopyrightText: 2010-2011 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de> 0011 * SPDX-FileCopyrightText: 2012-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0012 * 0013 * SPDX-License-Identifier: GPL-2.0-or-later 0014 * 0015 * ============================================================ */ 0016 0017 #ifndef DIGIKAM_ASSIGN_NAME_WIDGET_STATES_H 0018 #define DIGIKAM_ASSIGN_NAME_WIDGET_STATES_H 0019 0020 // Local includes 0021 0022 #include "itemvisibilitycontroller.h" 0023 0024 namespace Digikam 0025 { 0026 0027 class FaceItem; 0028 0029 class AssignNameWidgetStates : public HidingStateChanger 0030 { 0031 Q_OBJECT 0032 0033 public: 0034 0035 explicit AssignNameWidgetStates(FaceItem* const item); 0036 ~AssignNameWidgetStates() override; 0037 0038 protected Q_SLOTS: 0039 0040 void slotStateChanged(); 0041 0042 private: 0043 0044 explicit AssignNameWidgetStates(QObject*); 0045 }; 0046 0047 } // namespace Digikam 0048 0049 #endif // DIGIKAM_ASSIGN_NAME_WIDGET_STATES_H