File indexing completed on 2024-04-28 04:21:23
0001 /* SPDX-FileCopyrightText: 2003-2010 Jesper K. Pedersen <blackie@kde.org> 0002 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 #ifndef THUMBNAILREQUEST_H 0006 #define THUMBNAILREQUEST_H 0007 #include <ImageManager/ImageRequest.h> 0008 0009 namespace ThumbnailView 0010 { 0011 class ThumbnailModel; 0012 0013 class ThumbnailRequest : public ImageManager::ImageRequest 0014 { 0015 public: 0016 ThumbnailRequest(int row, const DB::FileName &fileName, const QSize &size, int angle, ThumbnailModel *client); 0017 bool stillNeeded() const override; 0018 0019 private: 0020 const ThumbnailModel *const m_thumbnailModel; 0021 int m_row; 0022 }; 0023 0024 } 0025 0026 #endif /* THUMBNAILREQUEST_H */ 0027 0028 // vi:expandtab:tabstop=4 shiftwidth=4: