SortingPriorityLessThan Struct | Qt Installer Framework Manual

- Qt Installer Framework Manual
- SortingPriorityLessThan

# SortingPriorityLessThan Struct

struct QInstaller::Component::SortingPriorityLessThan

The SortingPriorityLessThan class sets an increasing sorting order for child components. More...

- List of all members, including inherited members

## Public Functions

bool | operator()(const QInstaller::Component *lhs, const QInstaller::Component *rhs) const

## Detailed Description

If the component contains several children and has this sorting priority set, the child list is sorted so that the child component with the lowest priority is placed on top.

## Member Function Documentation

### bool SortingPriorityLessThan::operator()(const QInstaller::Component *lhs, const QInstaller::Component *rhs) const

Returns `true` if lhs is less than rhs; otherwise returns `false`.