Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kfilepreviewgenerator.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | 56 | public: | |||
---|---|---|---|---|---|
73 | * is false, the MIME type icon of the item is shown instead. Per default showing | 73 | * is false, the MIME type icon of the item is shown instead. Per default showing | ||
74 | * the preview is turned on. Note that it is mandatory that the item view | 74 | * the preview is turned on. Note that it is mandatory that the item view | ||
75 | * specifies an icon size by QAbstractItemView::setIconSize(), otherwise | 75 | * specifies an icon size by QAbstractItemView::setIconSize(), otherwise | ||
76 | * KFilePreviewGenerator::isPreviewShown() will always return false. | 76 | * KFilePreviewGenerator::isPreviewShown() will always return false. | ||
77 | */ | 77 | */ | ||
78 | void setPreviewShown(bool show); | 78 | void setPreviewShown(bool show); | ||
79 | bool isPreviewShown() const; | 79 | bool isPreviewShown() const; | ||
80 | 80 | | |||
81 | #if KIOFILEWIDGETS_ENABLE_DEPRECATED_SINCE(4, 3) | ||||
81 | /** | 82 | /** | ||
82 | * @deprecated Use KFilePreviewGenerator::updateIcons() instead. | 83 | * @deprecated Since 4.3, use KFilePreviewGenerator::updateIcons() instead. | ||
83 | */ | 84 | */ | ||
85 | KIOFILEWIDGETS_DEPRECATED_VERSION(4, 3, "Use KFilePreviewGenerator::updateIcons()") | ||||
84 | void updatePreviews(); | 86 | void updatePreviews(); | ||
87 | #endif | ||||
85 | 88 | | |||
86 | /** | 89 | /** | ||
87 | * Sets the list of enabled thumbnail plugins. | 90 | * Sets the list of enabled thumbnail plugins. | ||
88 | * Per default all plugins enabled in the KConfigGroup "PreviewSettings" | 91 | * Per default all plugins enabled in the KConfigGroup "PreviewSettings" | ||
89 | * are used. | 92 | * are used. | ||
90 | * | 93 | * | ||
91 | * Note that this method doesn't cause already generated previews | 94 | * Note that this method doesn't cause already generated previews | ||
92 | * to be regenerated. | 95 | * to be regenerated. | ||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |