• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdeio
 

tdeio/tdeio

Signals | Public Member Functions | Protected Slots | Protected Attributes | Friends | List of all members
KAutoMount Class Reference

#include <kautomount.h>

Inherits TQObject.

Signals

void finished ()
 
void error ()
 

Public Member Functions

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

Protected Slots

void slotResult (TDEIO::Job *)
 

Protected Attributes

TQString m_strDevice
 
bool m_bShowFilemanagerWindow
 
TQString m_desktopFile
 

Friends

class gcc_gives_a_warning_without_this
 

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 TDEIO::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 TQString &  format,
const TQString &  device,
const TQString &  mountpoint,
const TQString &  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 32 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

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.8.8
This website is maintained by Timothy Pearson.