class KAutoMount

This class implements synchronous mounting of devices, as well as showing a file-manager window after mounting a device, optionally. More...

Full nameKIO::KAutoMount
Definition#include <kautomount.h>
InheritsQObject (kdecore)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Slots

Protected Members


Detailed Description

This class implements synchronous mounting of devices, as well as showing a file-manager window after mounting a device, optionally. It is a wrapper around the asychronous KIO::special call for mount, used by KMimeType.

 KAutoMount ( bool readonly, const QString& format, const QString& device, const QString& mountpoint, const QString & desktopFile, bool show_filemanager_window = true )

Mount a device

Parameters:
readonlyif true, the device is mounted read-only
formatthe file system (e.g. vfat, ext2...) [optional, fstab is used otherwise]
devicethe path to the device (e.g. /dev/fd0)
mountpointthe directory where to mount the device [optional, fstab is used otherwise]
desktopFilethe file the user clicked on - to notify KDirWatch of the fact that it should emit fileDirty for it (to have the icon change)
show_filemanager_windowif true, a file-manager window for that mountpoint is shown after the mount, if successful.


Generated by: root@porky.devel.redhat.com on Wed May 10 08:56:52 2000, using kdoc 2.0a35.