| 123456789101112131415161718192021222324252627282930313233343536 | 
							- #ifndef OPTIONS_H
 
- #define OPTIONS_H
 
- #include <QApplication>
 
- #include <QTime>
 
- class QString;
 
- class Options : public QObject
 
- {
 
- public:
 
-     explicit Options (QString joueur1, QString joueur2, QTime const& time, bool son = true, QObject *parent = nullptr);
 
-     virtual ~Options();
 
-     void setTempsDepart (QTime const& temps);
 
-     void setNomJoueur1 (QString joueur);
 
-     void setNomJoueur2 (QString joueur);
 
-     void setSon (bool son);
 
-     QString nomJoueur1 () const;
 
-     QString nomJoueur2 () const;
 
-     QTime tempsDepart () const;
 
-     bool son () const;
 
- public slots:
 
- signals:
 
- private:
 
-     QTime   _tempsDepart;
 
-     QString _nomJoueur1;
 
-     QString _nomJoueur2;
 
-     bool    _son;
 
- };
 
- #endif // OPTIONS_H
 
 
  |