Changeset View
Changeset View
Standalone View
Standalone View
ksirk/Dialogs/newGameDialogImpl.h
Show All 40 Lines | 40 | /** | |||
---|---|---|---|---|---|
41 | * This is the implementation of the new game configuration dialog made with | 41 | * This is the implementation of the new game configuration dialog made with | ||
42 | * QT Designer | 42 | * QT Designer | ||
43 | * @author Gaël de Chalendar | 43 | * @author Gaël de Chalendar | ||
44 | */ | 44 | */ | ||
45 | class NewGameWidget : public QWidget, public Ui::NewGameDialog | 45 | class NewGameWidget : public QWidget, public Ui::NewGameDialog | ||
46 | { | 46 | { | ||
47 | Q_OBJECT | 47 | Q_OBJECT | ||
48 | public: | 48 | public: | ||
49 | NewGameWidget(NewGameSetup* newGameSetup, QWidget *parent=0); | 49 | explicit NewGameWidget(NewGameSetup* newGameSetup, QWidget *parent=0); | ||
50 | 50 | | |||
51 | ~NewGameWidget() override; | 51 | ~NewGameWidget() override; | ||
52 | 52 | | |||
53 | void init(const QString& skin, GameLogic::GameAutomaton::NetworkGameType netGameType); | 53 | void init(const QString& skin, GameLogic::GameAutomaton::NetworkGameType netGameType); | ||
54 | 54 | | |||
55 | public Q_SLOTS: | 55 | public Q_SLOTS: | ||
56 | virtual void slotOK(); | 56 | virtual void slotOK(); | ||
57 | virtual void slotCancel(); | 57 | virtual void slotCancel(); | ||
Show All 23 Lines |