# class KAutoUnmount

###

Module | kio
Namespace |
Class | KAutoUnmount
Inherits | QObject

This class implements synchronous unmounting of devices, It is a wrapper around the asychronous KIO.special() call for unmount, used by KMimeType.

This class implements synchronous unmounting of devices,

### methods

- KAutoUnmount (mountpoint, desktopFile)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  mountpoint | QString |
  desktopFile | QString |

  Unmounts a device.

  mountpoint - the mount point - KAutoUnmount finds the device from that

  desktopFile - the file the user clicked on - to notify KDirWatch of the fact that it should emit fileDirty for it (to have the icon change)

- KAutoUnmount ( )

  returns dtor
  Not implemented

  KAutoUnmount deletes itself. Don't delete it manually.

- error ( )

  returns Nothing
  SIGNAL ("error ()")

  Emitted in case the directory could not been unmounted

- finished ( )

  returns Nothing
  SIGNAL ("finished ()")

  Emitted when the directory has been unmounted