SortingPriorityGreaterThan Struct

struct QInstaller::Component::SortingPriorityGreaterThan

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

Public Functions

bool operator()(const Component *lhs, const 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 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.