KAutoMount Class Reference
from PyKDE4.kio import *
Inherits: QObject
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.
This class implements synchronous mounting of devices.
Signals | |
error () | |
finished () | |
Methods | |
__init__ (self, bool readonly, QByteArray format, QString device, QString mountpoint, QString desktopFile, bool show_filemanager_window=1) | |
error (self) | |
finished (self) |
Method Documentation
__init__ | ( | self, | ||
bool | readonly, | |||
QByteArray | format, | |||
QString | device, | |||
QString | mountpoint, | |||
QString | desktopFile, | |||
bool | show_filemanager_window=1 | |||
) |
error | ( | self ) |
Emitted in case the directory could not been mounted
- Signal syntax:
QObject.connect(source, SIGNAL("error()"), target_slot)
finished | ( | self ) |
Emitted when the directory has been mounted
- Signal syntax:
QObject.connect(source, SIGNAL("finished()"), target_slot)