Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kfilepreviewgenerator.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | |||||
56 | public: | 56 | public: | ||
57 | /** | 57 | /** | ||
58 | * @param parent Item view containing the file items where previews should | 58 | * @param parent Item view containing the file items where previews should | ||
59 | * be generated. It is mandatory that the item view specifies | 59 | * be generated. It is mandatory that the item view specifies | ||
60 | * an icon size by QAbstractItemView::setIconSize() and that | 60 | * an icon size by QAbstractItemView::setIconSize() and that | ||
61 | * the model of the view (or the source model of the proxy model) | 61 | * the model of the view (or the source model of the proxy model) | ||
62 | * is an instance of KDirModel. Otherwise no previews will be generated. | 62 | * is an instance of KDirModel. Otherwise no previews will be generated. | ||
63 | */ | 63 | */ | ||
64 | KFilePreviewGenerator(QAbstractItemView *parent); | 64 | explicit KFilePreviewGenerator(QAbstractItemView *parent); | ||
65 | 65 | | |||
66 | /** @internal */ | 66 | /** @internal */ | ||
67 | KFilePreviewGenerator(KAbstractViewAdapter *parent, QAbstractProxyModel *model); | 67 | KFilePreviewGenerator(KAbstractViewAdapter *parent, QAbstractProxyModel *model); | ||
68 | 68 | | |||
69 | virtual ~KFilePreviewGenerator(); | 69 | virtual ~KFilePreviewGenerator(); | ||
70 | 70 | | |||
71 | /** | 71 | /** | ||
72 | * If \a show is set to true, a preview is generated for each item. If \a show | 72 | * If \a show is set to true, a preview is generated for each item. If \a show | ||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |