digiKam
Loading...
Searching...
No Matches
dimgloaderobserver.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-03
7 * Description : DImgLoader observer interface
8 *
9 * SPDX-FileCopyrightText: 2006-2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15#pragma once
16
17// Qt includes
18
19#include <QtGlobal>
20
21// Local includes
22
23#include "digikam_export.h"
24
25namespace Digikam
26{
27
28class DImg;
29
30class DIGIKAM_EXPORT DImgLoaderObserver
31{
32
33public:
34
35 DImgLoaderObserver() = default;
36 virtual ~DImgLoaderObserver() = default;
37
41 virtual void progressInfo(float progress)
42 {
43 Q_UNUSED(progress);
44 };
45
49 virtual bool continueQuery()
50 {
51 return true;
52 };
53
60 virtual float granularity()
61 {
62 return 1.0F;
63 };
64
65private:
66
67 Q_DISABLE_COPY(DImgLoaderObserver)
68};
69
70} // namespace Digikam
Definition dimgloaderobserver.h:31
virtual void progressInfo(float progress)
Definition dimgloaderobserver.h:41
virtual bool continueQuery()
Definition dimgloaderobserver.h:49
virtual float granularity()
Definition dimgloaderobserver.h:60
virtual ~DImgLoaderObserver()=default
Definition datefolderview.cpp:34