Changeset View
Changeset View
Standalone View
Standalone View
thumbnail/imagecreator.h
Show All 18 Lines | |||||
19 | 19 | | |||
20 | #ifndef _IMAGECREATOR_H_ | 20 | #ifndef _IMAGECREATOR_H_ | ||
21 | #define _IMAGECREATOR_H_ | 21 | #define _IMAGECREATOR_H_ | ||
22 | 22 | | |||
23 | #include <QtGlobal> | 23 | #include <QtGlobal> | ||
24 | 24 | | |||
25 | #include <kio/thumbcreator.h> | 25 | #include <kio/thumbcreator.h> | ||
26 | 26 | | |||
27 | class ImageCreator : public ThumbCreator | 27 | class ImageCreator : public ThumbCreatorV3 | ||
28 | { | 28 | { | ||
29 | public: | 29 | public: | ||
30 | ImageCreator() {} | 30 | ImageCreator() {} | ||
31 | bool create(const QString &path, int, int, QImage &img) override; | 31 | bool createV3(const QString &path, int, int, QImage &img, qreal devicePixelRatio) override; | ||
32 | Flags flags() const override; | 32 | Flags flags() const override; | ||
33 | }; | 33 | }; | ||
34 | 34 | | |||
35 | #endif | 35 | #endif |