File indexing completed on 2024-04-28 04:21:22

0001 /* SPDX-FileCopyrightText: 2003-2010 Jesper K. Pedersen <blackie@kde.org>
0002 
0003    SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 #ifndef THUMBNAILCOMPONENT_H
0006 #define THUMBNAILCOMPONENT_H
0007 
0008 namespace DB
0009 {
0010 class Id;
0011 }
0012 
0013 namespace ThumbnailView
0014 {
0015 class ThumbnailFactory;
0016 class ThumbnailPainter;
0017 class ThumbnailWidget;
0018 class CellGeometry;
0019 class ThumbnailModel;
0020 
0021 class ThumbnailComponent
0022 {
0023 public:
0024     explicit ThumbnailComponent(ThumbnailFactory *factory);
0025 
0026     ThumbnailModel *model();
0027     const ThumbnailModel *model() const;
0028 
0029     CellGeometry *cellGeometryInfo();
0030     const CellGeometry *cellGeometryInfo() const;
0031 
0032     ThumbnailWidget *widget();
0033     const ThumbnailWidget *widget() const;
0034 
0035 private:
0036     ThumbnailFactory *m_factory;
0037 };
0038 
0039 }
0040 
0041 #endif /* THUMBNAILCOMPONENT_H */
0042 
0043 // vi:expandtab:tabstop=4 shiftwidth=4: