KAutoMount Class Reference
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. More...
#include <kautomount.h>
Inheritance diagram for KAutoMount:


Signals | |
void | finished () |
Emitted when the directory has been mounted. | |
void | error () |
Emitted in case the directory could not been mounted. | |
Public Member Functions | |
KAutoMount (bool readonly, const QString &format, const QString &device, const QString &mountpoint, const QString &desktopFile, bool show_filemanager_window=true) | |
Mounts a device. | |
Protected Slots | |
void | slotResult (KIO::Job *) |
Protected Attributes | |
QString | m_strDevice |
bool | m_bShowFilemanagerWindow |
QString | m_desktopFile |
Detailed Description
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 KIO::special() call for mount, used by KMimeType.
Definition at line 36 of file kautomount.h.
Constructor & Destructor Documentation
|
Mounts a device.
Definition at line 32 of file kautomount.cpp. References QString::ascii(), QObject::connect(), and KIO::mount(). |
Member Function Documentation
|
Emitted when the directory has been mounted.
|
|
Emitted in case the directory could not been mounted.
|
The documentation for this class was generated from the following files: