Sayonara Player
Public Member Functions | List of all members
Library::ActionPair Class Reference

A mapping between a name and a sortorder. More...

#include <ActionPair.h>

Public Member Functions

 ActionPair (Lang::Term term, bool ascending, Library::SortOrder so)
 appends "Ascending" or "Descending" behind the name More...
 
 ActionPair (const ActionPair &other)
 
ActionPairoperator= (const ActionPair &other)
 
QString name () const
 
Library::SortOrder sortorder () const
 

Detailed Description

A mapping between a name and a sortorder.

Constructor & Destructor Documentation

◆ ActionPair()

Library::ActionPair::ActionPair ( Lang::Term  term,
bool  ascending,
Library::SortOrder  so 
)

appends "Ascending" or "Descending" behind the name

Parameters
t1a term like e.g. 'Lang::Title'
ascendingindicates if the so is ascending or descending
so