Changeset View
Changeset View
Standalone View
Standalone View
thumbnail/svgcreator.h
Show All 16 Lines | 1 | /* This file is part of the KDE libraries | |||
---|---|---|---|---|---|
17 | Boston, MA 02110-1301, USA. | 17 | Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef _SVGCREATOR_H_ | 20 | #ifndef _SVGCREATOR_H_ | ||
21 | #define _SVGCREATOR_H_ | 21 | #define _SVGCREATOR_H_ | ||
22 | 22 | | |||
23 | #include <kio/thumbcreator.h> | 23 | #include <kio/thumbcreator.h> | ||
24 | 24 | | |||
25 | class SvgCreator : public ThumbCreator | 25 | class SvgCreator : public ThumbCreatorV3 | ||
26 | { | 26 | { | ||
27 | public: | 27 | public: | ||
28 | SvgCreator() {} | 28 | SvgCreator() {} | ||
29 | bool create(const QString &path, int w, int h, QImage &img) override; | 29 | bool createV3(const QString &path, int w, int h, QImage &img, qreal devicePixelRatio) override; | ||
30 | Flags flags() const override; | 30 | Flags flags() const override; | ||
31 | }; | 31 | }; | ||
32 | 32 | | |||
33 | #endif | 33 | #endif |