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++
/*
* This file is part of KimageShop^WKrayon^WKrita
*
* SPDX-FileCopyrightText: 2009 Boudewijn Rempt <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "kis_progress_updater.h"
KisProgressUpdater::KisProgressUpdater(KisProgressInterface* progressInterface, KoProgressProxy* proxy, KoProgressUpdater::Mode mode)
: KoProgressUpdater(proxy, mode)
, m_interface(progressInterface)
{
Q_ASSERT(progressInterface);
Q_ASSERT(proxy);
m_interface->attachUpdater(this);
}
KisProgressUpdater::~KisProgressUpdater()
{
m_interface->detachUpdater(this);
}