Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_progress_updater.h
Go to the documentation of this file.
1
/*
2
* This file is part of KimageShop^WKrayon^WKrita
3
*
4
* SPDX-FileCopyrightText: 2009 Boudewijn Rempt <boud@valdyas.org>
5
*
6
* SPDX-License-Identifier: GPL-2.0-or-later
7
*/
8
#ifndef KIS_PROGRESS_UPDATER_H
9
#define KIS_PROGRESS_UPDATER_H
10
11
#include <
KoProgressUpdater.h
>
12
#include <kritaimage_export.h>
13
14
class
KRITAIMAGE_EXPORT
KisProgressInterface
15
{
16
public
:
17
18
virtual
~KisProgressInterface
() {};
19
virtual
void
detachUpdater
(
KoProgressUpdater
* updater) = 0;
20
virtual
void
attachUpdater
(
KoProgressUpdater
* updater) = 0;
21
};
22
23
24
29
class
KRITAIMAGE_EXPORT
KisProgressUpdater
:
public
KoProgressUpdater
30
{
31
public
:
32
KisProgressUpdater
(
KisProgressInterface
* progressInterface,
KoProgressProxy
* proxy,
33
KoProgressUpdater::Mode
mode =
KoProgressUpdater::Threaded
);
34
~KisProgressUpdater
()
override
;
35
private
:
36
KisProgressInterface
*
m_interface
;
37
};
38
39
40
41
#endif
// KIS_PROGRESS_UPDATER_H
KoProgressUpdater.h
KisProgressInterface
Definition
kis_progress_interface.h:16
KisProgressInterface::attachUpdater
virtual void attachUpdater(KoProgressUpdater *updater)=0
KisProgressInterface::detachUpdater
virtual void detachUpdater(KoProgressUpdater *updater)=0
KisProgressInterface::~KisProgressInterface
virtual ~KisProgressInterface()
Definition
kis_progress_updater.h:18
KisProgressUpdater
Definition
kis_progress_updater.h:30
KisProgressUpdater::m_interface
KisProgressInterface * m_interface
Definition
kis_progress_updater.h:36
KoProgressProxy
Definition
KoProgressProxy.h:20
KoProgressUpdater
Definition
KoProgressUpdater.cpp:24
KoProgressUpdater::Mode
Mode
Definition
KoProgressUpdater.h:58
KoProgressUpdater::Threaded
@ Threaded
Definition
KoProgressUpdater.h:59
libs
image
kis_progress_updater.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52