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

KDECore

  • KMountPoint
  • List
Public Member Functions
KMountPoint::List Class Reference

#include <kmountpoint.h>

Inheritance diagram for KMountPoint::List:

List of all members.

Public Member Functions

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

Detailed Description

List of mount points.

Definition at line 42 of file kmountpoint.h.


Constructor & Destructor Documentation

KMountPoint::List::List ( )

Definition at line 473 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 520 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:
paththe path to check
Returns:
the mount point of the given file

Definition at line 497 of file kmountpoint.cpp.


The documentation for this class was generated from the following files:
  • kmountpoint.h
  • kmountpoint.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 21:57:00 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

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

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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