Pages
API Documentation
On this page

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

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.

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.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.