|
@@ -58,10 +58,10 @@ MaFenetre::MaFenetre(Options* mesOptions) :
|
|
|
///////////////////////////// Menus ////////////////////////////
|
|
|
QMenu *menuFichier = menuBar()->addMenu("&Fichier");
|
|
|
QAction *actionNouveau = new QAction ("&Nouveau" , this);
|
|
|
- QAction *actionChangerNom = new QAction ("&Options...", this);
|
|
|
+ QAction *actionOptions = new QAction ("&Options...", this);
|
|
|
QAction *actionQuitter = new QAction ("&Quitter" , this);
|
|
|
menuFichier->addAction(actionNouveau);
|
|
|
- menuFichier->addAction(actionChangerNom);
|
|
|
+ menuFichier->addAction(actionOptions);
|
|
|
menuFichier->addSeparator();
|
|
|
menuFichier->addAction(actionQuitter);
|
|
|
|
|
@@ -98,7 +98,7 @@ MaFenetre::MaFenetre(Options* mesOptions) :
|
|
|
QObject::connect (boutonInverser , SIGNAL(clicked()) , this , SLOT(inverser()));
|
|
|
QObject::connect (boutonArreter , SIGNAL(clicked()), this, SLOT (arreter()));
|
|
|
QObject::connect (actionNouveau, SIGNAL(triggered()) , this , SLOT(init()));
|
|
|
- QObject::connect (actionChangerNom , SIGNAL(triggered()), this, SLOT(lancerDialogueOptions()));
|
|
|
+ QObject::connect (actionOptions , SIGNAL(triggered()), this, SLOT(lancerDialogueOptions()));
|
|
|
QObject::connect (actionQuitter , SIGNAL(triggered()) , qApp , SLOT(quit()));
|
|
|
QObject::connect (chrono1, SIGNAL(fin()), this, SLOT(arreter()));
|
|
|
QObject::connect (chrono2, SIGNAL(fin()), this, SLOT(arreter()));
|
|
@@ -160,7 +160,7 @@ void MaFenetre::init () {
|
|
|
}
|
|
|
|
|
|
void MaFenetre::lancerDialogueOptions() {
|
|
|
- Dialog dialog(option);
|
|
|
+ Dialog dialog (option);
|
|
|
if (dialog.exec()) {
|
|
|
chrono1->modifierNomJoueur(option->nomJoueur1());
|
|
|
chrono1->definirTemps(option->tempsDepart());
|