PlayerSelection Class Reference

#include <playerselection.h>

List of all members.


Detailed Description

This is a dialouge to request that a player selects their opponents for the card game the wish to play.

Author:
John Schneiderman

Public Member Functions

 PlayerSelection (QWidget *parent)
vector< QString > selectedPlayers ()
void setGameName (const QString &name)
void setPlayersNeeded (int minimum, int maximum)

Constructor & Destructor Documentation

PlayerSelection::PlayerSelection ( QWidget *  parent  ) 

The dialogue constructor.

Parameters:
parent is the parent of this widget.


Member Function Documentation

vector< QString > PlayerSelection::selectedPlayers (  ) 

This gives the player names the user has selected to play with.

Returns:
the player's selection.

void PlayerSelection::setGameName ( const QString &  name  ) 

This sets the game we're selecting players for.

Parameters:
name is the name of the game we're selecting for.

void PlayerSelection::setPlayersNeeded ( int  minimum,
int  maximum 
)

This set the boundary conditions for the number of players needed.

Parameters:
minimum is the minimum number of players needed for the game.
maximum is the maximum number of players allowed for the game.


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

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