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

KIO

Signals | Public Member Functions | List of all members
KAutoMount Class Reference

#include <kautomount.h>

Inheritance diagram for KAutoMount:
Inheritance graph
[legend]

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)
 

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 45 of file kautomount.h.

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
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.

Definition at line 52 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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal