From 3065a1c13bec5d0b101bec48ff666d45a02ce8a6 Mon Sep 17 00:00:00 2001 From: waspe Date: Sun, 30 Mar 2003 11:30:54 +0000 Subject: *** empty log message *** --- (limited to 'noncore/games/backgammon/playerdialog.h') diff --git a/noncore/games/backgammon/playerdialog.h b/noncore/games/backgammon/playerdialog.h new file mode 100644 index 0000000..8fccaa7 --- a/dev/null +++ b/noncore/games/backgammon/playerdialog.h @@ -0,0 +1,35 @@ +#ifndef PLAYERDIALOG_H +#define PLAYERDIALOG_H + +#include +#include + +class PlayerDialog : public QDialog +{ + Q_OBJECT +private: + bool auto1; + bool auto2; + QRadioButton* manual_button1; + QRadioButton* auto_button1; + QRadioButton* manual_button2; + QRadioButton* auto_button2; +public: + PlayerDialog(QWidget* parent=0,const char* name=0,bool modal=TRUE,WFlags f=0); + ~PlayerDialog(); +private slots: + void button_manual1(); + void button_auto1(); + void button_manual2(); + void button_auto2(); +private: + void button1_state(bool computer); + void button2_state(bool computer); +public: + void setAuto1(bool newstate); + bool getAuto1(); + void setAuto2(bool newstate); + bool getAuto2(); +}; + +#endif //PLAYERDIALOG_H -- cgit v0.9.0.2