Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* SPDX-FileCopyrightText: 2018 Dmitry Kazakov <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "KoFakeProgressProxy.h"
#include <QtGlobal>
#include <QGlobalStatic>
Q_GLOBAL_STATIC(KoFakeProgressProxy, s_instance)
int KoFakeProgressProxy::maximum() const
{
return 100;
}
void KoFakeProgressProxy::setValue(int value)
{
Q_UNUSED(value);
}
void KoFakeProgressProxy::setRange(int minimum, int maximum)
{
Q_UNUSED(minimum);
Q_UNUSED(maximum);
}
void KoFakeProgressProxy::setFormat(const QString &format)
{
Q_UNUSED(format);
}
void KoFakeProgressProxy::setAutoNestedName(const QString &name)
{
Q_UNUSED(name);
}
KoProgressProxy *KoFakeProgressProxy::instance()
{
return s_instance;
}