~neon/kdesdk-thumbnailers/master

« back to all changes in this revision

Viewing changes to po_thumbnailer/pocreator.h

  • Committer: Nicolas Fella
  • Date: 2023-11-04 20:35:19 UTC
  • Revision ID: git-v1:940b8aec0dcc656881d798e32563c8a26b1743ab
Make it build against KF6

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#ifndef POCREATOR_H
8
8
#define POCREATOR_H
9
9
 
10
 
#include <KIO/ThumbCreator>
 
10
#include <KIO/ThumbnailCreator>
11
11
 
12
 
class PoCreator : public ThumbCreator
 
12
class PoCreator : public KIO::ThumbnailCreator
13
13
{
14
14
    public:
15
 
        PoCreator();
 
15
        PoCreator(QObject *parent, const QVariantList &args);
16
16
        ~PoCreator() override;
17
 
        bool create( const QString& path, int width, int height, QImage& img ) override;
18
 
#if KIOWIDGETS_ENABLE_DEPRECATED_SINCE(5, 87)
19
 
        QWidget* createConfigurationWidget() override;
20
 
        void writeConfiguration( const QWidget* configurationWidget ) override;
21
 
#endif
 
17
        KIO::ThumbnailResult create( const KIO::ThumbnailRequest &request ) override;
22
18
};
23
19
 
24
20
#endif // POCREATOR_H