This commit is contained in:
Jurriaan 2026-11-04 21:03:17 +01:00 • committed by GitHub
commit a37a494ce7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 464 additions and 131 deletions

View file

@ -316,6 +316,10 @@ void CardInfo::setColors(const QString &value)
{
setProperty(Mtg::Colors, value);
}
QString CardInfo::getColorIdentity() const
{
return getProperty(Mtg::ColorIdentity);
}
QString CardInfo::getLoyalty() const
{
return getProperty(Mtg::Loyalty);

View file

@ -469,6 +469,7 @@ public:
[[nodiscard]] QString getCmc() const;
[[nodiscard]] QString getColors() const;
void setColors(const QString &value);
[[nodiscard]] QString getColorIdentity() const;
[[nodiscard]] QString getLoyalty() const;
[[nodiscard]] QString getMainCardType() const;
[[nodiscard]] QString getManaCost() const;