Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CTServerOptionsDialog Class Reference

CTServerOptionsDialog. More...

#include <TServerOptionsDialog.h>

List of all members.

Public Member Functions

 CTServerOptionsDialog (uint32 minPlayers=0, uint32 maxPlayers=0, uint32 curMinPlayers=0, uint32 curMaxPlayers=0, uint64 duration=0, QWidget *pParent=NULL, const int8 *name=NULL)
 CTServerOptionsDialog.
 ~CTServerOptionsDialog ()
 ~CTServerOptionsDialog
uint32 GetMinPlayers () const
 GetMinPlayers.
uint32 GetMaxPalyers () const
 GetMaxPalyers.
uint64 GetDuration () const
 GetDuration.

Protected Member Functions

void init ()
 init


Detailed Description

CTServerOptionsDialog.

Description: Dialog box that allows the user to set some tournament options.

Limitations: NONE


Constructor & Destructor Documentation

CTServerOptionsDialog::CTServerOptionsDialog uint32  minPlayers = 0,
uint32  maxPlayers = 0,
uint32  curMinPlayers = 0,
uint32  curMaxPlayers = 0,
uint64  duration = 0,
QWidget *  pParent = NULL,
const int8 *  name = NULL
 

CTServerOptionsDialog.

Description: Class Constructor

Parameters:
minPlayers is the previous minimum number of players
maxPlayers is the previous maximum number of players
duration is the previous match duration.
pParent is the parent widget
name is the name of this object.
Limitations: NONE

CTServerOptionsDialog::~CTServerOptionsDialog  ) 
 

~CTServerOptionsDialog

Description: Class deconstructor

Limitations: NONE


Member Function Documentation

uint64 CTServerOptionsDialog::GetDuration  )  const
 

GetDuration.

Description: Returns the duration of a match set by the user.

Returns:
The duration of a match set by the user.
Limitations: Don't call unless the dialog box was accepted.

uint32 CTServerOptionsDialog::GetMaxPalyers  )  const
 

GetMaxPalyers.

Description: Returns the maximum number of players set by the user.

Returns:
The maximum number of players set by the user.
Limitations: Don't call unless the dialog box was accepted.

uint32 CTServerOptionsDialog::GetMinPlayers  )  const
 

GetMinPlayers.

Description: Returns the minimum number of players set by the user.

Returns:
The minimum number of players set by the user.
Limitations: Don't call unless the dialog box was accepted.

void CTServerOptionsDialog::init  )  [protected]
 

init

Description: Initializes the validators for the line edit boxes.

Returns:
void
Limitations: NONE


The documentation for this class was generated from the following files:
Copyright (c) 2005 Matt Bruns, Pat Hammond, Kevin Markussen, Travis Service, Brain Shaver

SourceForge.net Logo