SortingPriorityGreaterThan Class

(QInstaller::Component::SortingPriorityGreaterThan)

The SortingPriorityGreaterThan class sets a decreasing sorting priority for child components. More...

Header: #include <SortingPriorityGreaterThan>

Public Functions

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

Detailed Description

The SortingPriorityGreaterThan class sets a decreasing sorting priority 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 highest priority is placed on top.

Member Function Documentation

bool SortingPriorityGreaterThan::operator()(const Component *lhs, const Component *rhs) const

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