#include <suitrequest.h>
Public Member Functions | |
Card::Suit | suit () const |
SuitRequest (const QString &caption, bool canPass, bool canBidNoSuit, QWidget *parent=0, bool modal=true) | |
~SuitRequest () |
SuitRequest::SuitRequest | ( | const QString & | caption, | |
bool | canPass, | |||
bool | canBidNoSuit, | |||
QWidget * | parent = 0 , |
|||
bool | modal = true | |||
) |
Constructor for a suit request widget dialogue.
caption | is the caption for the dialogue. | |
canPass | is true if the player can pass, false if he cannot. | |
canBidNoSuit | is true if the player can select no suit, false if he cannot | |
parent | is the parent of our dialogue. | |
modal | is true if we want our dialogue to be modal, false elsewise. |
SuitRequest::~SuitRequest | ( | ) |
The destructor for our dialogue.
Card::Suit SuitRequest::suit | ( | ) | const |
An accessor to the suit the player selected.
KardsGTError | if cannot determine suit selection. |