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::PropertyMultiMap 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 25 of file file.h.

Constructor & Destructor Documentation

◆ File() [1/3]

File::File ( )

Definition at line 27 of file file.cpp.

◆ File() [2/3]

File::File ( const File & f)

Definition at line 32 of file file.cpp.

◆ File() [3/3]

File::File ( const QString & url)

Constructor.

url the local url of the file

Definition at line 37 of file file.cpp.

Member Function Documentation

◆ load() [1/2]

bool File::load ( )

Definition at line 75 of file file.cpp.

◆ load() [2/2]

bool File::load ( const QString & url)

Definition at line 68 of file file.cpp.

◆ operator=()

const File & File::operator= ( const File & f)

Definition at line 45 of file file.cpp.

◆ path()

QString File::path ( ) const

The local url of the file.

Definition at line 53 of file file.cpp.

◆ properties()

KFileMetaData::PropertyMultiMap File::properties ( ) const

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

Definition at line 58 of file file.cpp.

◆ property()

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

Definition at line 63 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-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.