NameDialogWidget Class Reference

The player status widget. More...

#include <namedialogwidget.h>

Collaboration diagram for NameDialogWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NameDialogWidget (QWidget *parent)
 Constructor for the widget.
void setName (int pos, QString name)
 Set a default names to the widget.
QString name (int pos)
 Retrieve the name from the widget.

Detailed Description

The player status widget.

Definition at line 38 of file namedialogwidget.h.


Constructor & Destructor Documentation

NameDialogWidget::NameDialogWidget QWidget *  parent  ) 
 

Constructor for the widget.

Parameters:
parent The parent window

Definition at line 32 of file namedialogwidget.cpp.

References Ui_NameDialog::setupUi().

Here is the call graph for this function:


Member Function Documentation

QString NameDialogWidget::name int  pos  ) 
 

Retrieve the name from the widget.

Parameters:
pos The name position (0,1)
Returns:
The new name.

Definition at line 54 of file namedialogwidget.cpp.

References Ui_NameDialog::editPlayer1, and Ui_NameDialog::editPlayer2.

void NameDialogWidget::setName int  pos,
QString  name
 

Set a default names to the widget.

Parameters:
pos The name position (0,1)
name The name to set

Definition at line 40 of file namedialogwidget.cpp.

References Ui_NameDialog::editPlayer1, and Ui_NameDialog::editPlayer2.

Referenced by Mainwindow::menuPlayerNames().


The documentation for this class was generated from the following files:
Generated on Tue May 1 09:34:40 2007 for LSkat by  doxygen 1.4.6