MuseScore  3.4
Music composition and notation
Public Member Functions | Protected Attributes | Private Attributes | List of all members
Ms::HChord Class Reference

#include <chordlist.h>

Public Member Functions

 HChord ()
 
 HChord (int k)
 
 HChord (int a, int b, int c=-1, int d=-1, int e=-1, int f=-1, int g=-1, int h=-1, int i=-1, int k=-1, int l=-1)
 
 HChord (const QString &)
 
void rotate (int semiTones)
 
bool contains (int key) const
 
HChordoperator+= (int key)
 
HChordoperator-= (int key)
 
bool operator== (const HChord &o) const
 
bool operator!= (const HChord &o) const
 
int getKeys () const
 
void print () const
 
QString name (int tpc) const
 
QString voicing () const
 
void add (const QList< HDegree > &degreeList)
 

Protected Attributes

int keys
 

Private Attributes

QString str
 

Constructor & Destructor Documentation

◆ HChord() [1/4]

Ms::HChord::HChord ( )
inline

◆ HChord() [2/4]

Ms::HChord::HChord ( int  k)
inline

◆ HChord() [3/4]

Ms::HChord::HChord ( int  a,
int  b,
int  c = -1,
int  d = -1,
int  e = -1,
int  f = -1,
int  g = -1,
int  h = -1,
int  i = -1,
int  k = -1,
int  l = -1 
)

◆ HChord() [4/4]

Ms::HChord::HChord ( const QString &  str)

Member Function Documentation

◆ add()

void Ms::HChord::add ( const QList< HDegree > &  degreeList)

◆ contains()

bool Ms::HChord::contains ( int  key) const
inline

◆ getKeys()

int Ms::HChord::getKeys ( ) const
inline

◆ name()

QString Ms::HChord::name ( int  tpc) const

◆ operator!=()

bool Ms::HChord::operator!= ( const HChord o) const
inline

◆ operator+=()

HChord& Ms::HChord::operator+= ( int  key)
inline

◆ operator-=()

HChord& Ms::HChord::operator-= ( int  key)
inline

◆ operator==()

bool Ms::HChord::operator== ( const HChord o) const
inline

◆ print()

void Ms::HChord::print ( ) const

◆ rotate()

void Ms::HChord::rotate ( int  semiTones)

◆ voicing()

QString Ms::HChord::voicing ( ) const

Member Data Documentation

◆ keys

int Ms::HChord::keys
protected

◆ str

QString Ms::HChord::str
private

The documentation for this class was generated from the following files: