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

KDECore

  • KMountPoint
  • List
Public Member Functions | List of all members
KMountPoint::List Class Reference

#include <kmountpoint.h>

Inheritance diagram for KMountPoint::List:
Inheritance graph
[legend]

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 479 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 525 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 502 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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:11 by doxygen 1.8.7 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 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