Baloo::PendingFile

Search for usage in LXR

Baloo::PendingFile Class Reference

#include <pendingfile.h>

Public Member Functions

 PendingFile (const QString &path)
 
bool isNewFile () const
 
void merge (const PendingFile &file)
 
bool operator== (const PendingFile &rhs) const
 
QString path () const
 
void setAttributeChanged ()
 
void setClosedOnWrite ()
 
void setCreated ()
 
void setDeleted ()
 
void setModified ()
 
bool shouldIndexContents () const
 
bool shouldIndexXAttrOnly () const
 
bool shouldRemoveIndex () const
 

Detailed Description

Represents a file which needs to be indexed.

Definition at line 19 of file pendingfile.h.

Constructor & Destructor Documentation

◆ PendingFile()

PendingFile::PendingFile ( const QString & path)
explicit

Definition at line 13 of file pendingfile.cpp.

Member Function Documentation

◆ isNewFile()

bool PendingFile::isNewFile ( ) const

Definition at line 28 of file pendingfile.cpp.

◆ merge()

void PendingFile::merge ( const PendingFile & file)

Takes a PendingFile file and merges its flags into the current PendingFile.

Definition at line 54 of file pendingfile.cpp.

◆ operator==()

bool Baloo::PendingFile::operator== ( const PendingFile & rhs) const
inline

Definition at line 37 of file pendingfile.h.

◆ path()

QString PendingFile::path ( ) const

Definition at line 23 of file pendingfile.cpp.

◆ setAttributeChanged()

void Baloo::PendingFile::setAttributeChanged ( )
inline

Definition at line 26 of file pendingfile.h.

◆ setClosedOnWrite()

void Baloo::PendingFile::setClosedOnWrite ( )
inline

Definition at line 27 of file pendingfile.h.

◆ setCreated()

void Baloo::PendingFile::setCreated ( )
inline

Definition at line 29 of file pendingfile.h.

◆ setDeleted()

void Baloo::PendingFile::setDeleted ( )
inline

Definition at line 30 of file pendingfile.h.

◆ setModified()

void Baloo::PendingFile::setModified ( )
inline

Definition at line 28 of file pendingfile.h.

◆ shouldIndexContents()

bool PendingFile::shouldIndexContents ( ) const

Definition at line 33 of file pendingfile.cpp.

◆ shouldIndexXAttrOnly()

bool PendingFile::shouldIndexXAttrOnly ( ) const

Definition at line 41 of file pendingfile.cpp.

◆ shouldRemoveIndex()

bool PendingFile::shouldRemoveIndex ( ) const

Definition at line 49 of file pendingfile.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.