Krita Source Code Documentation
Loading...
Searching...
No Matches
KoFakeProgressProxy.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
8
9#include <QtGlobal>
10#include <QGlobalStatic>
11
13
14
15int KoFakeProgressProxy::maximum() const
16{
17 return 100;
18}
19
21{
22 Q_UNUSED(value);
23}
24
25void KoFakeProgressProxy::setRange(int minimum, int maximum)
26{
27 Q_UNUSED(minimum);
28 Q_UNUSED(maximum);
29}
30
31void KoFakeProgressProxy::setFormat(const QString &format)
32{
33 Q_UNUSED(format);
34}
35
37{
38 Q_UNUSED(name);
39}
40
42{
43 return s_instance;
44}
float value(const T *src, size_t ch)
Q_GLOBAL_STATIC(KisStoragePluginRegistry, s_instance)
void setFormat(const QString &format) override
void setRange(int minimum, int maximum) override
int maximum() const override
static KoProgressProxy * instance()
void setAutoNestedName(const QString &name) override
void setValue(int value) override