Baloo::File Class
class Baloo::FileProvides access to all File Metadata. More...
Header: | #include <Baloo/File> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Baloo) target_link_libraries(mytarget PRIVATE KF6::Baloo) |
Public Functions
File() | |
File(const QString &url) | |
bool | load() |
bool | load(const QString &url) |
QString | path() const |
KFileMetaData::PropertyMultiMap | properties() const |
QVariant | property(KFileMetaData::Property::Property property) const |
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