# class KIconCanvas

###

Module | kio
Namespace |
Class | KIconCanvas
Inherits | KListWidget

Icon canvas for KIconDialog.

### methods

- KIconCanvas (parent)

  returns ctor
  KDE 4.1.0 and later only

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

  Creates a new icon canvas.

  parent - The parent widget.

- KIconCanvas (a0)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  a0 | KIconCanvas |

- KIconCanvas (a0)

  returns ctor
  before KDE 4.1.0 only

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

- finished ( )

  returns Nothing
  SIGNAL ("finished ()")

  This signal is emitted when the loading of the icons has been finished.

- getCurrent ( )

  returns QString

  Returns the current icon.

- loadFiles (files)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  files | QStringList |

  Load icons into the canvas.

- nameChanged (a0)

  returns Nothing
  SIGNAL ("nameChanged (const QString&)")

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

  Emitted when the current icon has changed.

- progress (number)

  returns Nothing
  SIGNAL ("progress (int)")

  Argument | Type | Default
  --- | --- | ---
  number | int |

  This signal is emitted whenever an icon has been loaded.

  number - The number of the currently loaded item.

- startLoading (count)

  returns Nothing
  SIGNAL ("startLoading (int)")

  Argument | Type | Default
  --- | --- | ---
  count | int |

  This signal is emitted when the loading of the icons has started.

  count - The number of icons to be loaded.

- stopLoading ( )

  returns Nothing

  Call this slot to stop the loading of the icons.