KIO::FileSystemFreeSpaceJob Class
A 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) - Inherits: KIO::SimpleJob
List of all members, including inherited members
Public Functions
- KIO::filesize_t availableSize() const (since 6.0)
- KIO::filesize_t size() const (since 6.0)
Detailed Description
Member Function Documentation
[since 6.0] KIO::filesize_t FileSystemFreeSpaceJob::availableSize() const
Get available amount of space
This function was introduced in Qt 6.0.
[since 6.0] KIO::filesize_t FileSystemFreeSpaceJob::size() const
Get total amount of space
This function was introduced in Qt 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.