• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

KAutoMount Class Reference

#include <kautomount.h>

Inheritance diagram for KAutoMount:

Inheritance graph
[legend]

List of all 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.

This class implements synchronous mounting of devices.

Definition at line 43 of file kautomount.h.


Signals

void error ()
void finished ()

Public Member Functions

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

Constructor & Destructor Documentation

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

Mounts a device.

Parameters:
readonly if true, the device is mounted read-only
format the file system (e.g. vfat, ext2...) [optional, fstab is used otherwise]
device the path to the device (e.g. /dev/fd0)
mountpoint the directory where to mount the device [optional, fstab is used otherwise]
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)
show_filemanager_window if true, a file-manager window for that mountpoint is shown after the mount, if successful.

Definition at line 51 of file kautomount.cpp.


Member Function Documentation

void KAutoMount::error (  )  [signal]

Emitted in case the directory could not been mounted.

void KAutoMount::finished (  )  [signal]

Emitted when the directory has been mounted.


The documentation for this class was generated from the following files:
  • kautomount.h
  • kautomount.cpp

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal