KIO
kmountpoint.h
Ptr findByPath(const QString &path) const
Find the mountpoint on which resides path For instance if /home is a separate partition,...
Definition kmountpoint.cpp:430
Ptr findByDevice(const QString &device) const
Returns the mount point associated with device, i.e.
Definition kmountpoint.cpp:459
DetailsNeededFlag
Flags that specify which additional details should be fetched for each mountpoint.
Definition kmountpoint.h:65
@ NeedRealDeviceName
Also fetch the device name (with symlinks resolved), see KMountPoint::realDeviceName().
Definition kmountpoint.h:77
@ BasicInfoNeeded
Only the basic details: mountedFrom, mountPoint, mountType.
Definition kmountpoint.h:69
@ NeedMountOptions
Also fetch the options used when mounting, see KMountPoint::mountOptions().
Definition kmountpoint.h:73
QString realDeviceName() const
Canonical name of the device where the filesystem got mounted from.
Definition kmountpoint.cpp:405
QString mountPoint() const
Path where the filesystem is mounted (if you used currentMountPoints()), or can be mounted (if you us...
Definition kmountpoint.cpp:410
bool probablySlow() const
Returns true if the filesystem is "probably" slow, e.g. a network mount, false otherwise.
Definition kmountpoint.cpp:473
static List currentMountPoints(DetailsNeededFlags infoNeeded=BasicInfoNeeded)
Returns a list of all current mountpoints.
Definition kmountpoint.cpp:285
QFlags< DetailsNeededFlag > DetailsNeededFlags
Stores a combination of DetailsNeededFlag values.
Definition kmountpoint.h:82
static List possibleMountPoints(DetailsNeededFlags infoNeeded=BasicInfoNeeded)
This function gives a list of all possible mountpoints.
Definition kmountpoint.cpp:169
dev_t deviceId() const
Returns the device ID (dev_t, major, minor) of this mount point.
Definition kmountpoint.cpp:395
bool isOnNetwork() const
Returns true if this mount point represents a network filesystem (e.g. NFS, CIFS, etc....
Definition kmountpoint.cpp:400
QList()
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.