Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/previewjob.h
Show First 20 Lines • Show All 181 Lines • ▼ Show 20 Line(s) | 93 | #endif | |||
---|---|---|---|---|---|
182 | /** | 182 | /** | ||
183 | * Returns the currently set sequence index | 183 | * Returns the currently set sequence index | ||
184 | * | 184 | * | ||
185 | * @since 4.3 | 185 | * @since 4.3 | ||
186 | **/ | 186 | **/ | ||
187 | int sequenceIndex() const; | 187 | int sequenceIndex() const; | ||
188 | 188 | | |||
189 | /** | 189 | /** | ||
190 | * Request preview to use the device pixel ratio @p. | ||||
elvisangelaccio: Did you mean `@p dpr`?
(unless doxygen is smart enough to figure out the name of the parameter? | |||||
191 | * The returned thumbnail may not respect the device pixel ratio returned. | ||||
192 | * Use QPixmap::devicePixelRatio to check, or paint as neccesary. | ||||
193 | * | ||||
194 | * @since 5.71 | ||||
meven: update | |||||
195 | */ | ||||
196 | void setDevicePixelRatio(qreal dpr); | ||||
197 | | ||||
198 | /** | ||||
190 | * Returns a list of all available preview plugins. The list | 199 | * Returns a list of all available preview plugins. The list | ||
191 | * contains the basenames of the plugins' .desktop files (no path, | 200 | * contains the basenames of the plugins' .desktop files (no path, | ||
192 | * no .desktop). | 201 | * no .desktop). | ||
193 | * @return the list of all available plugins | 202 | * @return the list of all available plugins | ||
194 | */ | 203 | */ | ||
195 | static QStringList availablePlugins(); | 204 | static QStringList availablePlugins(); | ||
196 | 205 | | |||
197 | /** | 206 | /** | ||
▲ Show 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | |||||
249 | #if KIOWIDGETS_ENABLE_DEPRECATED_SINCE(4, 7) | 258 | #if KIOWIDGETS_ENABLE_DEPRECATED_SINCE(4, 7) | ||
250 | /** | 259 | /** | ||
251 | * Creates a PreviewJob to generate or retrieve a preview image | 260 | * Creates a PreviewJob to generate or retrieve a preview image | ||
252 | * for the given URL. | 261 | * for the given URL. | ||
253 | * | 262 | * | ||
254 | * @param items files to get previews for | 263 | * @param items files to get previews for | ||
255 | * @param width the maximum width to use | 264 | * @param width the maximum width to use | ||
256 | * @param height the maximum height to use, if this is 0, the same | 265 | * @param height the maximum height to use, if this is 0, the same | ||
257 | * value as width is used. | 266 | * value as width is used. | ||
elvisangelaccio: Typo: `devicePixelRatio`. | |||||
258 | * @param iconSize the size of the mimetype icon to overlay over the | 267 | * @param iconSize the size of the mimetype icon to overlay over the | ||
259 | * preview or zero to not overlay an icon. This has no effect if the | 268 | * preview or zero to not overlay an icon. This has no effect if the | ||
260 | * preview plugin that will be used doesn't use icon overlays. | 269 | * preview plugin that will be used doesn't use icon overlays. | ||
261 | * @param iconAlpha transparency to use for the icon overlay | 270 | * @param iconAlpha transparency to use for the icon overlay | ||
262 | * @param scale if the image is to be scaled to the requested size or | 271 | * @param scale if the image is to be scaled to the requested size or | ||
263 | * returned in its original size | 272 | * returned in its original size | ||
264 | * @param save if the image should be cached for later use | 273 | * @param save if the image should be cached for later use | ||
265 | * @param enabledPlugins if non-zero, this points to a list containing | 274 | * @param enabledPlugins if non-zero, this points to a list containing | ||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |
Did you mean @p dpr?
(unless doxygen is smart enough to figure out the name of the parameter?)