durch Enum in qt wiederholen

//in Qt
	#include <QMetaEnum>
    
    const QMetaEnum metaCardID = QMetaEnum::fromType<Colour>();
    for (int i=0;i<metaCardID.keyCount();++i)
    {
       value =  metaCardID.value(i);
    
    }
Pieter21