/* SPDX-FileCopyrightText: 2024 Akseli Lahtinen SPDX-License-Identifier: LGPL-2.0-or-later */ #pragma once #include "kiogui_export.h" #include namespace KIO { class KIOGUI_EXPORT StandardThumbnailJob : public KIO::Job { Q_OBJECT public: StandardThumbnailJob(const QString &execString, int width, const QString &inputFile, const QString &outputFile); ~StandardThumbnailJob() override; void start() override; bool doKill() override; Q_SIGNALS: void data(KIO::Job *job, const QImage &thumb); private: class Private; std::unique_ptr const d; /// @internal Q_DISABLE_COPY(StandardThumbnailJob) }; }