KFileSystemType
KFileSystemType Namespace Reference
Enumerations | |
enum | Type { Unknown , Nfs , Smb , Fat , Ramfs , Other , Ntfs , Exfat , Fuse } |
Functions | |
KCOREADDONS_EXPORT QString | fileSystemName (KFileSystemType::Type type) |
KCOREADDONS_EXPORT Type | fileSystemType (const QString &path) |
Detailed Description
Provides utility functions for the type of file systems.
Enumeration Type Documentation
◆ Type
Definition at line 22 of file kfilesystemtype.h.
Function Documentation
◆ fileSystemName()
QString KFileSystemType::fileSystemName | ( | KFileSystemType::Type | type | ) |
Returns the possibly translated name of a filesystem corresponding to a value from KFileSystemType::Type.
- Since
- 5.86
Definition at line 248 of file kfilesystemtype.cpp.
◆ fileSystemType()
KFileSystemType::Type KFileSystemType::fileSystemType | ( | const QString & | path | ) |
For a given path
, returns the filesystem type, one of KFileSystemType::Type values.
If the type can't be determined, KFileSystemType::Unknown
is returned.
- Since
- 5.0
Definition at line 237 of file kfilesystemtype.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.