Warning, file /office/calligra/gemini/ThumbnailHelperImpl.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 * Assists in creating thumbnails for Gemini's file views 0003 * SPDX-FileCopyrightText: 2014 Dan Leinir Turthra Jensen <admin@leinir.dk> 0004 * 0005 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0006 * 0007 */ 0008 0009 #ifndef THUMBNAILHELPERIMPL_H 0010 #define THUMBNAILHELPERIMPL_H 0011 0012 #include <QObject> 0013 0014 class KoPart; 0015 class KoDocument; 0016 class ThumbnailHelperImpl : public QObject 0017 { 0018 Q_OBJECT 0019 public: 0020 explicit ThumbnailHelperImpl(QObject* parent = 0); 0021 ~ThumbnailHelperImpl() override; 0022 0023 bool convert(const QString& in, const QString& out, int width, int height); 0024 private: 0025 KoPart *m_part; 0026 KoDocument *m_doc; 0027 0028 bool m_loadingCompleted :1; 0029 }; 0030 0031 #endif // THUMBNAILHELPERIMPL_H 0032 0033 class KoPart;