#include <cardcache.h>
Public Types | |
| enum | Suit { None, Diamond, Heart, Club, Spade } |
| enum | Card { Joker, Ace, King, Queen, Jack, Ten, Nine, Eight, Seven, Six, Five, Four, Three, Two } |
Public Member Functions | |
| KCardInfo (Suit s, Card c) | |
| void | setCard (Card c) |
| Card | card () const |
| void | setSuit (Suit s) |
| Suit | suit () const |
| QString | pngName () const |
| QString | svgName () const |
| bool | operator== (const KCardInfo &c) const |
Public Attributes | |
| QString | name |
| QString | comment |
| QString | path |
| QString | back |
| QPixmap | preview |
| QString | svgfile |
| QSizeF | size |
| bool | isDefault |
Definition at line 54 of file 1.cpp.
| enum KCardInfo::Suit |
| enum KCardInfo::Card |
Definition at line 36 of file cardcache.h.
| KCardInfo::KCardInfo | ( | KCardInfo::Suit | s, | |
| KCardInfo::Card | c | |||
| ) |
Definition at line 102 of file cardcache.cpp.
| void KCardInfo::setCard | ( | KCardInfo::Card | c | ) |
Definition at line 117 of file cardcache.cpp.
| KCardInfo::Card KCardInfo::card | ( | ) | const |
| void KCardInfo::setSuit | ( | KCardInfo::Suit | s | ) |
Definition at line 122 of file cardcache.cpp.
| KCardInfo::Suit KCardInfo::suit | ( | ) | const |
| QString KCardInfo::pngName | ( | ) | const |
Definition at line 132 of file cardcache.cpp.
References Ace, card(), Club, Diamond, Eight, Five, Four, Heart, Jack, King, Nine, Queen, Seven, Six, Spade, suit(), Ten, Three, and Two.
Referenced by KCardCache::defaultFrontSize(), and KCardCache::frontside().

| QString KCardInfo::svgName | ( | ) | const |
Definition at line 189 of file cardcache.cpp.
References Ace, card(), Club, Diamond, Eight, Five, Four, Heart, Jack, King, Nine, Queen, Seven, Six, Spade, suit(), Ten, Three, and Two.
Referenced by KCardCache::defaultFrontSize(), KCardCache::frontside(), and LoadThread::run().

| bool KCardInfo::operator== | ( | const KCardInfo & | c | ) | const |
Definition at line 127 of file cardcache.cpp.
References card(), and suit().

| QString KCardInfo::name |
Definition at line 58 of file 1.cpp.
Referenced by KCardDialog::insertCardIcons(), KCardDialog::insertDeckIcons(), and KCardDialog::updateFront().
| QString KCardInfo::comment |
| QString KCardInfo::path |
| QString KCardInfo::back |
| QPixmap KCardInfo::preview |
Definition at line 62 of file 1.cpp.
Referenced by KCardDialog::insertCardIcons(), KCardDialog::insertDeckIcons(), KCardDialog::updateBack(), and KCardDialog::updateFront().
| QString KCardInfo::svgfile |
Definition at line 63 of file 1.cpp.
Referenced by KCardDialogStatic::filterOutCard(), and KCardDialogPrivate::filterOutCard().
| QSizeF KCardInfo::size |
| bool KCardInfo::isDefault |
1.5.3