digiKam
sharedloadsavethread.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 : 2006-01-16
7  * Description : image file IO threaded interface.
8  *
9  * Copyright (C) 2006-2011 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_SHARED_LOAD_SAVE_THREAD_H
25 #define DIGIKAM_SHARED_LOAD_SAVE_THREAD_H
26 
27 // Local includes
28 
29 #include "managedloadsavethread.h"
30 
31 namespace Digikam
32 {
33 
34 class DIGIKAM_EXPORT SharedLoadSaveThread : public ManagedLoadSaveThread
35 {
36  Q_OBJECT
37 
38 public:
39 
40  explicit SharedLoadSaveThread(QObject* const parent = nullptr);
41  ~SharedLoadSaveThread() override;
42 
43  void load(const LoadingDescription& description,
44  AccessMode mode,
45  LoadingPolicy policy = LoadingPolicyAppend);
46 
47 private:
48 
49  // Disable
51  SharedLoadSaveThread& operator=(const SharedLoadSaveThread&) = delete;
52 };
53 
54 } // namespace Digikam
55 
56 #endif // DIGIKAM_SHARED_LOAD_SAVE_THREAD_H
AccessMode
Definition: loadsavethread.h:127
Definition: loadingdescription.h:45
Definition: managedloadsavethread.h:39
LoadingPolicy
Definition: managedloadsavethread.h:45
Definition: sharedloadsavethread.h:35
Definition: datefolderview.cpp:43