Baloo::File

Search for usage in LXR

Baloo::File Class Reference

#include <Baloo/File>

Public Member Functions

 File (const File &f)
 
 File (const QString &url)
 
bool load ()
 
bool load (const QString &url)
 
const Fileoperator= (const File &f)
 
QString path () const
 
KFileMetaData::PropertyMap properties () const
 
QVariant property (KFileMetaData::Property::Property property) const
 

Detailed Description

Provides access to all File Metadata.

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

Definition at line 23 of file file.h.

Constructor & Destructor Documentation

File::File ( const QString url)

Constructor.

url the local url of the file

Definition at line 37 of file file.cpp.

Member Function Documentation

QString File::path ( ) const

The local url of the file.

Definition at line 56 of file file.cpp.

KFileMetaData::PropertyMap File::properties ( ) const

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

Definition at line 61 of file file.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Dec 2 2021 22:54:41 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.