GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::find_file_less_than Class Reference
Collaboration diagram for octave::find_file_less_than:

Public Member Functions

 find_file_less_than (int ord)
 
QVariant getValue (const QFileInfo &f) const
 
bool lessThan (const QVariant &left, const QVariant &right) const
 
bool operator() (const QFileInfo &left, const QFileInfo &right) const
 

Private Attributes

int m_sortorder
 

Detailed Description

Definition at line 39 of file find-files-model.cc.

Constructor & Destructor Documentation

◆ find_file_less_than()

octave::find_file_less_than::find_file_less_than ( int  ord)
inline

Definition at line 43 of file find-files-model.cc.

References m_sortorder.

Member Function Documentation

◆ getValue()

QVariant octave::find_file_less_than::getValue ( const QFileInfo &  f) const
inline

Definition at line 45 of file find-files-model.cc.

References octave::f(), and m_sortorder.

Referenced by operator()().

◆ lessThan()

bool octave::find_file_less_than::lessThan ( const QVariant &  left,
const QVariant &  right 
) const
inline

Definition at line 68 of file find-files-model.cc.

References octave::left.

Referenced by operator()().

◆ operator()()

bool octave::find_file_less_than::operator() ( const QFileInfo &  left,
const QFileInfo &  right 
) const
inline

Definition at line 74 of file find-files-model.cc.

References getValue(), octave::left, lessThan(), and m_sortorder.

Member Data Documentation

◆ m_sortorder

int octave::find_file_less_than::m_sortorder
private

Definition at line 87 of file find-files-model.cc.

Referenced by find_file_less_than(), getValue(), and operator()().


The documentation for this class was generated from the following file: