author | waspe <waspe> | 2003-03-30 11:30:54 (UTC) |
---|---|---|
committer | waspe <waspe> | 2003-03-30 11:30:54 (UTC) |
commit | 3065a1c13bec5d0b101bec48ff666d45a02ce8a6 (patch) (unidiff) | |
tree | f8fe8d3eba81ef4e371c12f530be9cd4debc895b /noncore/games/backgammon/rulesdialog.h | |
parent | 87ba3646367397e149979a8477a33239cb341e99 (diff) | |
download | opie-3065a1c13bec5d0b101bec48ff666d45a02ce8a6.zip opie-3065a1c13bec5d0b101bec48ff666d45a02ce8a6.tar.gz opie-3065a1c13bec5d0b101bec48ff666d45a02ce8a6.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'noncore/games/backgammon/rulesdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/backgammon/rulesdialog.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/noncore/games/backgammon/rulesdialog.h b/noncore/games/backgammon/rulesdialog.h new file mode 100644 index 0000000..9269a0e --- a/dev/null +++ b/noncore/games/backgammon/rulesdialog.h | |||
@@ -0,0 +1,27 @@ | |||
1 | #ifndef RULESDIALOG_H_ | ||
2 | #define RULESDIALOG_H_ | ||
3 | |||
4 | #include <qcheckbox.h> | ||
5 | #include <qdialog.h> | ||
6 | #include "definition.h" | ||
7 | |||
8 | |||
9 | class RulesDialog : public QDialog | ||
10 | { | ||
11 | Q_OBJECT | ||
12 | private: | ||
13 | QCheckBox* pieces_out; | ||
14 | QCheckBox* nice_dice; | ||
15 | Rules rules; | ||
16 | public: | ||
17 | RulesDialog(QWidget* parent=0,const char* name=0,bool modal=TRUE,WFlags f=0); | ||
18 | ~RulesDialog(); | ||
19 | private slots: | ||
20 | void pieces_out_clicked(); | ||
21 | void nice_dice_clicked(); | ||
22 | public: | ||
23 | void setRules(const Rules& new_rules); | ||
24 | Rules getRules(); | ||
25 | }; | ||
26 | |||
27 | #endif //RULESDIALOG_H | ||