File indexing completed on 2024-05-12 16:28:26
0001 /* 0002 * This file is part of Calligra 0003 * 0004 * Copyright (C) 2011 Jan Hambrecht <jaham@gmx.net> 0005 * 0006 * This library is free software; you can redistribute it and/or 0007 * modify it under the terms of the GNU Lesser General Public License 0008 * version 2.1 as published by the Free Software Foundation. 0009 * 0010 * This library is distributed in the hope that it will be useful, but 0011 * WITHOUT ANY WARRANTY; without even the implied warranty of 0012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0013 * Lesser General Public License for more details. 0014 * 0015 * You should have received a copy of the GNU Lesser General Public 0016 * License along with this library; if not, write to the Free Software 0017 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 0018 * 02110-1301 USA 0019 * 0020 */ 0021 0022 #ifndef CSTHUMBPROVIDERKARBON_H 0023 #define CSTHUMBPROVIDERKARBON_H 0024 0025 #include "CSThumbProvider.h" 0026 0027 class KarbonDocument; 0028 0029 class CSThumbProviderKarbon : public CSThumbProvider 0030 { 0031 public: 0032 explicit CSThumbProviderKarbon(KarbonDocument *doc); 0033 ~CSThumbProviderKarbon() override; 0034 0035 QVector<QImage> createThumbnails(const QSize &thumbSize) override; 0036 0037 private: 0038 KarbonDocument *m_doc; 0039 }; 0040 0041 #endif // CSTHUMBPROVIDERKARBON_H