# class KImageFilePreview

###

Module | kio
Namespace |
Class | KImageFilePreview
Inherits | KPreviewWidgetBase

### methods

- KImageFilePreview (parent)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0

  Creates a new image file preview.

  parent - The parent widget.

- KImageFilePreview (a0)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  a0 | KImageFilePreview |

- KImageFilePreview (a0)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget | 0

- clearPreview ( )

  returns Nothing

  Clears the preview.

- createJob (url, width, height)

  returns KIO.PreviewJob

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  width | int |
  height | int |

- gotPreview (a0, a1)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |
  a1 | QPixmap |

- resizeEvent (event)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  event | QResizeEvent |

- showPreview (url)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |

  Shows a preview for the given url.

- showPreview ( )

  returns Nothing

- showPreview (url, force)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  force | bool |

- sizeHint ( )

  returns QSize

  Returns the size hint for this widget.