KIO::FileSystemFreeSpaceJob Class
class KIO::FileSystemFreeSpaceJobA KIO job that retrieves the total and available size of a filesystem. More...
Header: | #include <KIO/FileSystemFreeSpaceJob> |
CMake: | find_package(KF6 REQUIRED COMPONENTS KIO) target_link_libraries(mytarget PRIVATE KF6::KIOCore) |
Since: | 5.3 |
Inherits: | KIO::SimpleJob |
Public Functions
(since 6.0) KIO::filesize_t | availableSize() const |
(since 6.0) KIO::filesize_t | size() const |
Related Non-Members
KIO::FileSystemFreeSpaceJob * | fileSystemFreeSpace(const QUrl &url) |
Detailed Description
Member Function Documentation
[since 6.0]
KIO::filesize_t FileSystemFreeSpaceJob::availableSize() const
Get available amount of space
This function was introduced in 6.0.
[since 6.0]
KIO::filesize_t FileSystemFreeSpaceJob::size() const
Get total amount of space
This function was introduced in 6.0.
Related Non-Members
KIO::FileSystemFreeSpaceJob *fileSystemFreeSpace(const QUrl &url)
Get a filesystem's total and available space.
url Url to the filesystem.
Returns the job handling the operation.