Skip to content

Add new base class for thumbnail plugins

Nicolas Fella requested to merge work/thumbnail into master

This is a replacement for ThumbCreator, ThumbDevicePixelRatioDependentCreator, and ThumbSequenceCreator

It derives from QObject so that it can be used together with KPluginFactory

Input and output for the create method is encapsuled into request and result objects

This simplifies the DPR handling. We always pass the DPR as well as the already scaled request size to the create function and assume the creator handles it properly

It also addresses some TODOs from the current classes

See https://phabricator.kde.org/T15486

Edited by Nicolas Fella

Merge request reports