Krita Source Code Documentation
Loading...
Searching...
No Matches
KisRunnableBasedStrokeStrategy.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISRUNNABLEBASEDSTROKESTRATEGY_H
8#define KISRUNNABLEBASEDSTROKESTRATEGY_H
9
11
13
15{
16private:
17 struct JobsInterface;
18
19public:
20 KisRunnableBasedStrokeStrategy(const QLatin1String &id, const KUndo2MagicString &name = KUndo2MagicString());
23
24 void doStrokeCallback(KisStrokeJobData *data) override;
25
26 KisRunnableStrokeJobsInterface *runnableJobsInterface() const;
27
28private:
29 const QScopedPointer<KisRunnableStrokeJobsInterface> m_jobsInterface;
30};
31
32#endif // KISRUNNABLEBASEDSTROKESTRATEGY_H
const QScopedPointer< KisRunnableStrokeJobsInterface > m_jobsInterface
virtual void doStrokeCallback(KisStrokeJobData *data)