qBittorrent
Utils::Compare::NaturalLessThan< caseSensitivity > Class Template Reference

#include <compare.h>

Public Member Functions

bool operator() (const QString &left, const QString &right) const
 

Private Attributes

NaturalCompare< caseSensitivity > m_comparator
 

Detailed Description

template<Qt::CaseSensitivity caseSensitivity>
class Utils::Compare::NaturalLessThan< caseSensitivity >

Definition at line 77 of file compare.h.

Member Function Documentation

◆ operator()()

template<Qt::CaseSensitivity caseSensitivity>
bool Utils::Compare::NaturalLessThan< caseSensitivity >::operator() ( const QString &  left,
const QString &  right 
) const
inline

Definition at line 80 of file compare.h.

81  {
82  return (m_comparator(left, right) < 0);
83  }
NaturalCompare< caseSensitivity > m_comparator
Definition: compare.h:86

References Utils::Compare::NaturalLessThan< caseSensitivity >::m_comparator.

Member Data Documentation

◆ m_comparator

template<Qt::CaseSensitivity caseSensitivity>
NaturalCompare<caseSensitivity> Utils::Compare::NaturalLessThan< caseSensitivity >::m_comparator
private

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