SortingPriorityLessThan Class | Qt Installer Framework Manual

Qt Installer Framework Manual | SortingPriorityLessThan

# SortingPriorityLessThan Class

(QInstaller::Component::SortingPriorityLessThan)

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

Header: | #include <SortingPriorityLessThan>

- List of all members, including inherited members

## Public Functions

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

## Detailed Description

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

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 Component *lhs, const Component *rhs) const

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