equal
deleted
inserted
replaced
18 |
18 |
19 #ifndef GAMECONFIGWIDGET_H |
19 #ifndef GAMECONFIGWIDGET_H |
20 #define GAMECONFIGWIDGET_H |
20 #define GAMECONFIGWIDGET_H |
21 |
21 |
22 #include <QWidget> |
22 #include <QWidget> |
|
23 #include <QStringList> |
23 |
24 |
24 #include "mapContainer.h" |
25 #include "mapContainer.h" |
25 |
26 |
26 class QCheckBox; |
27 class QCheckBox; |
27 class QVBoxLayout; |
28 class QVBoxLayout; |
31 class GameCFGWidget : public QWidget |
32 class GameCFGWidget : public QWidget |
32 { |
33 { |
33 Q_OBJECT |
34 Q_OBJECT |
34 |
35 |
35 public: |
36 public: |
36 GameCFGWidget(QWidget* parent=0); |
37 GameCFGWidget(QWidget* parent); |
37 quint32 getGameFlags(); |
38 quint32 getGameFlags() const; |
38 QString getCurrentSeed() const; |
39 QString getCurrentSeed() const; |
39 QString getCurrentMap() const; |
40 QString getCurrentMap() const; |
40 QString getCurrentTheme() const; |
41 QString getCurrentTheme() const; |
41 quint32 getInitHealth() const; |
42 quint32 getInitHealth() const; |
42 quint32 getTurnTime() const; |
43 quint32 getTurnTime() const; |
|
44 QStringList getFullConfig() const; |
43 |
45 |
44 private slots: |
46 private slots: |
45 |
47 |
46 private: |
48 private: |
47 QCheckBox * CB_mode_Forts; |
49 QCheckBox * CB_mode_Forts; |