File indexing completed on 2024-04-28 04:58:03

0001 /*  This file is part of the Calligra project.
0002     SPDX-FileCopyrightText: 2015 Friedrich W. H. Kossebau <kossebau@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef _KRITACREATOR_H_
0008 #define _KRITACREATOR_H_
0009 
0010 #include <QtGlobal>
0011 
0012 // KF
0013 #include <KIO/ThumbnailCreator>
0014 
0015 /**
0016  * The Krita thumbnail creator can create thumbnails for krita and openraster images
0017  */
0018 class KritaCreator : public KIO::ThumbnailCreator
0019 {
0020     Q_OBJECT
0021 public:
0022     KritaCreator(QObject *parent, const QVariantList &args);
0023     ~KritaCreator() override;
0024 
0025     KIO::ThumbnailResult create(const KIO::ThumbnailRequest &request) override;
0026 };
0027 
0028 #endif