BidRequest Class Reference

#include <bidrequest.h>

List of all members.


Detailed Description

This requests a bid from a human player.

Author:
John Schneiderman

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 ()

Constructor & Destructor Documentation

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.

Parameters:
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.


Member Function Documentation

int BidRequest::bid (  )  const

An accessor to the bid the player made.

Returns:
the bid the player made.


The documentation for this class was generated from the following files:

Generated on Tue Aug 12 23:24:00 2008 for KardsGT by  doxygen 1.5.5