KIO
KAutoUnmount Class Reference
#include <kautomount.h>
Inheritance diagram for KAutoUnmount:

Signals | |
void | error () |
void | finished () |
Public Member Functions | |
KAutoUnmount (const QString &mountpoint, const QString &desktopFile) | |
Detailed Description
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,
Definition at line 85 of file kautomount.h.
Constructor & Destructor Documentation
◆ KAutoUnmount()
KAutoUnmount::KAutoUnmount | ( | const QString & | mountpoint, |
const QString & | desktopFile | ||
) |
Unmounts a device.
- Parameters
-
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)
Definition at line 120 of file kautomount.cpp.
Member Function Documentation
◆ error
|
signal |
Emitted in case the directory could not been unmounted.
◆ finished
|
signal |
Emitted when the directory has been unmounted.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.