digiKam
assignnamewidgetstates.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 : 2010-09-17
7  * Description : Visibility states controller for assignment and confirmation of names for faces
8  *
9  * Copyright (C) 2010 by Aditya Bhatt <adityabhatt1991 at gmail dot com>
10  * Copyright (C) 2010-2011 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
11  * Copyright (C) 2012-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
12  *
13  * This program is free software; you can redistribute it
14  * and/or modify it under the terms of the GNU General
15  * Public License as published by the Free Software Foundation;
16  * either version 2, or (at your option)
17  * any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * ============================================================ */
25 
26 #ifndef DIGIKAM_ASSIGN_NAME_WIDGET_STATES_H
27 #define DIGIKAM_ASSIGN_NAME_WIDGET_STATES_H
28 
29 // Local includes
30 
32 
33 namespace Digikam
34 {
35 
36 class FaceItem;
37 
39 {
40  Q_OBJECT
41 
42 public:
43 
44  explicit AssignNameWidgetStates(FaceItem* const item);
45  ~AssignNameWidgetStates() override;
46 
47 protected Q_SLOTS:
48 
49  void slotStateChanged();
50 };
51 
52 } // namespace Digikam
53 
54 #endif // DIGIKAM_ASSIGN_NAME_WIDGET_STATES_H
Definition: assignnamewidgetstates.h:39
~AssignNameWidgetStates() override
Definition: assignnamewidgetstates.cpp:48
AssignNameWidgetStates(FaceItem *const item)
Definition: assignnamewidgetstates.cpp:37
void slotStateChanged()
Definition: assignnamewidgetstates.cpp:52
Definition: faceitem.h:44
Definition: itemvisibilitycontroller.h:282
Definition: datefolderview.cpp:43