Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kfilepreviewgenerator.cpp
Show First 20 Lines • Show All 1240 Lines • ▼ Show 20 Line(s) | 1225 | { | |||
---|---|---|---|---|---|
1241 | updateIcons(); | 1241 | updateIcons(); | ||
1242 | } | 1242 | } | ||
1243 | 1243 | | |||
1244 | bool KFilePreviewGenerator::isPreviewShown() const | 1244 | bool KFilePreviewGenerator::isPreviewShown() const | ||
1245 | { | 1245 | { | ||
1246 | return d->m_previewShown; | 1246 | return d->m_previewShown; | ||
1247 | } | 1247 | } | ||
1248 | 1248 | | |||
1249 | // deprecated (use updateIcons() instead) | 1249 | #if KIOFILEWIDGETS_BUILD_DEPRECATED_SINCE(4, 3) | ||
1250 | void KFilePreviewGenerator::updatePreviews() | 1250 | void KFilePreviewGenerator::updatePreviews() | ||
1251 | { | 1251 | { | ||
1252 | updateIcons(); | 1252 | updateIcons(); | ||
1253 | } | 1253 | } | ||
1254 | #endif | ||||
1254 | 1255 | | |||
1255 | void KFilePreviewGenerator::updateIcons() | 1256 | void KFilePreviewGenerator::updateIcons() | ||
1256 | { | 1257 | { | ||
1257 | d->killPreviewJobs(); | 1258 | d->killPreviewJobs(); | ||
1258 | 1259 | | |||
1259 | d->clearCutItemsCache(); | 1260 | d->clearCutItemsCache(); | ||
1260 | d->m_pendingItems.clear(); | 1261 | d->m_pendingItems.clear(); | ||
1261 | d->m_dispatchedItems.clear(); | 1262 | d->m_dispatchedItems.clear(); | ||
Show All 26 Lines |