Pages
API Documentation
On this page

Baloo::File Class

Provides access to all File Metadata. More...

  • Header: #include <Baloo/File>
  • CMake: find_package(KF6 REQUIRED COMPONENTS Baloo)
    target_link_libraries(mytarget PRIVATE KF6::Baloo)

List of all members, including inherited members

Public Functions

Detailed Description

The File class acts as a temporary container for all the file metadata.

Member Function Documentation

File::File()

File::File(const QString &url)

Constructor

url the local url of the file

bool File::load()

bool File::load(const QString &url)

QString File::path() const

The local url of the file

KFileMetaData::PropertyMultiMap File::properties() const

Gives a variant map of the properties that have been extracted from the file by the indexer

QVariant File::property(KFileMetaData::Property::Property property) const

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