.TH "KAutoMount" 3 "28 Jan 2004" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KAutoMount \- This class implements synchronous mounting of devices, as well as showing a file-manager window after mounting a device, optionally. This class implements synchronous mounting of devices.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kautomount.h>\fP
.PP
Inherits \fBQObject\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBfinished\fP ()"
.br
.RI "\fIEmitted when the directory has been mounted. \fP"
.ti -1c
.RI "void \fBerror\fP ()"
.br
.RI "\fIEmitted in case the directory could not been mounted. \fP"
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKAutoMount\fP (bool readonly, const  \fBQString\fP &format, const  \fBQString\fP &device, const  \fBQString\fP &mountpoint, const  \fBQString\fP &desktopFile, bool show_filemanager_window=true)"
.br
.RI "\fIMounts a device. \fP"
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "void \fBslotResult\fP (\fBKIO::Job\fP *)"
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "\fBQString\fP \fBm_strDevice\fP"
.br
.ti -1c
.RI "bool \fBm_bShowFilemanagerWindow\fP"
.br
.ti -1c
.RI "\fBQString\fP \fBm_desktopFile\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
This class implements synchronous mounting of devices, as well as showing a file-manager window after mounting a device, optionally. This class implements synchronous mounting of devices. 

It is a wrapper around the asychronous \fBKIO::special\fP() call for mount, used by \fBKMimeType\fP.
.PP
Definition at line 36 of file kautomount.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KAutoMount::KAutoMount (bool readonly, const \fBQString\fP & format, const \fBQString\fP & device, const \fBQString\fP & mountpoint, const \fBQString\fP & desktopFile, bool show_filemanager_window = true)"
.PP
Mounts a device. \fBParameters:\fP
.RS 4
\fIreadonly\fP if true, the device is mounted read-only 
.br
\fIformat\fP the file system (e.g. vfat, ext2...) [optional, fstab is used otherwise] 
.br
\fIdevice\fP the path to the device (e.g. /dev/fd0) 
.br
\fImountpoint\fP the directory where to mount the device [optional, fstab is used otherwise] 
.br
\fIdesktopFile\fP the file the user clicked on - to notify \fBKDirWatch\fP of the fact that it should emit fileDirty for it (to have the icon change) 
.br
\fIshow_filemanager_window\fP if true, a file-manager window for that mountpoint is shown after the mount, if successful. 
.RE
.PP
Definition at line 32 of file kautomount.cpp.
.PP
References QString::ascii(), QObject::connect(), and KIO::mount().
.SH "Member Function Documentation"
.PP 
.SS "void KAutoMount::finished ()\fC [signal]\fP"
.PP
Emitted when the directory has been mounted. 
.SS "void KAutoMount::error ()\fC [signal]\fP"
.PP
Emitted in case the directory could not been mounted. 

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
