Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_queues_progress_updater.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2011 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_QUEUES_PROGRESS_UPDATER_H
8#define __KIS_QUEUES_PROGRESS_UPDATER_H
9
10#include <QObject>
11#include "kritaimage_export.h"
12
13class KoProgressProxy;
14
15
16class KRITAIMAGE_EXPORT KisQueuesProgressUpdater : public QObject
17{
18 Q_OBJECT
19
20public:
21 KisQueuesProgressUpdater(KoProgressProxy *progressProxy, QObject *parent = 0);
23
24 void updateProgress(int queueSizeMetric, const QString &jobName);
25 void hide();
26
27private Q_SLOTS:
28 void startTicking();
29 void stopTicking();
30 void timerTicked();
31
32Q_SIGNALS:
35
36private:
37 struct Private;
38 Private * const m_d;
39};
40
41#endif /* __KIS_QUEUES_PROGRESS_UPDATER_H */