#include <bidrequest.h>
Public Member Functions | |
int | bid () const |
BidRequest (const QString &caption, int minimum, int maximum, const QString &specialText="NONE", QWidget *parent=0, bool modal=true) | |
~BidRequest () |
BidRequest::BidRequest | ( | const QString & | caption, | |
int | minimum, | |||
int | maximum, | |||
const QString & | specialText = "NONE" , |
|||
QWidget * | parent = 0 , |
|||
bool | modal = true | |||
) |
Constructor for a bid request widget dialogue.
caption | is the caption for the dialogue. | |
minimum | is the minimum that a player can bid. | |
maximum | is the maximum that a player can bid. | |
specialText | is the text to display instead of the minimum value. | |
parent | is the parent of our dialogue. | |
modal | is true if we want our dialogue to be modal, false elsewise. |
BidRequest::~BidRequest | ( | ) |
The destructor for our dialogue.
int BidRequest::bid | ( | ) | const |
An accessor to the bid the player made.