digiKam
coredboperationgroup.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 : Core database convenience object for grouping 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_CORE_DB_OPERATION_GROUP_H
25 #define DIGIKAM_CORE_DB_OPERATION_GROUP_H
26 
27 // Qt includes
28 
29 #include <QVariant>
30 
31 // Local includes
32 
33 #include "digikam_export.h"
34 
35 namespace Digikam
36 {
37 
38 class CoreDbAccess;
39 
47 class DIGIKAM_DATABASE_EXPORT CoreDbOperationGroup
48 {
49 public:
50 
55 
59  explicit CoreDbOperationGroup(CoreDbAccess* const access);
61 
66  void lift();
67 
68  void setMaximumTime(int msecs);
69 
73  void resetTime();
74 
79  void allowLift();
80 
81 private:
82 
83  // Disable
85  CoreDbOperationGroup& operator=(const CoreDbOperationGroup&) = delete;
86 
87  class Private;
88  Private* const d;
89 };
90 
91 } // namespace Digikam
92 
93 #endif // DIGIKAM_CORE_DB_OPERATION_GROUP_H
Definition: coredbaccess.h:56
Definition: coredboperationgroup.h:48
Definition: datefolderview.cpp:43