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

KIO

KMountPoint::List

KMountPoint::List Class Reference

List of mount points. More...

#include <kmountpoint.h>

Inheritance diagram for KMountPoint::List:

Inheritance graph
[legend]

List of all members.


Public Member Functions

Ptr findByDevice (const QString &device) const
Ptr findByPath (const QString &path) const
 List ()

Detailed Description

List of mount points.

Definition at line 42 of file kmountpoint.h.


Constructor & Destructor Documentation

KMountPoint::List::List (  ) 

Definition at line 457 of file kmountpoint.cpp.


Member Function Documentation

KMountPoint::Ptr KMountPoint::List::findByDevice ( const QString &  device  )  const

Returns the mount point associated with device, i.e.

the one where mountedFrom() == device (after symlink resolution).

Returns:
the mountpoint, or 0 if this device doesn't exist or isn't mounted

Definition at line 485 of file kmountpoint.cpp.

KMountPoint::Ptr KMountPoint::List::findByPath ( const QString &  path  )  const

Find the mountpoint on which resides path For instance if /home is a separate partition, findByPath("/home/user/blah") will return /home.

Parameters:
path the path to check
Returns:
the mount point of the given file

Definition at line 462 of file kmountpoint.cpp.


The documentation for this class was generated from the following files:
  • kmountpoint.h
  • kmountpoint.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
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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