digiKam
facedboperationgroup.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-10-12
7  * Description : Convenience object for grouping face database operations
8  *
9  * Copyright (C) 2010 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_FACE_DB_OPERATION_GROUP_H
25 #define DIGIKAM_FACE_DB_OPERATION_GROUP_H
26 
27 namespace Digikam
28 {
29 
30 class FaceDbAccess;
31 
40 {
41 public:
42 
47 
51  explicit FaceDbOperationGroup(FaceDbAccess* const dbAccess);
52 
54 
59  void lift();
60 
61  void setMaximumTime(int msecs);
62 
66  void resetTime();
67 
72  void allowLift();
73 
74 private:
75 
76  // Disable
78  FaceDbOperationGroup& operator=(const FaceDbOperationGroup&) = delete;
79 
80 private:
81 
82  class Private;
83  Private* const d;
84 };
85 
86 } // namespace Digikam
87 
88 #endif // DIGIKAM_FACE_DB_OPERATION_GROUP_H
Definition: facedbaccess.h:43
Definition: facedboperationgroup.h:40
void lift()
Definition: facedboperationgroup.cpp:123
~FaceDbOperationGroup()
Definition: facedboperationgroup.cpp:117
void setMaximumTime(int msecs)
Definition: facedboperationgroup.cpp:138
FaceDbOperationGroup()
Definition: facedboperationgroup.cpp:97
void allowLift()
Definition: facedboperationgroup.cpp:148
void resetTime()
Definition: facedboperationgroup.cpp:143
Definition: datefolderview.cpp:43