Changeset View
Changeset View
Standalone View
Standalone View
ksirk/mainMenu.h
Show All 40 Lines | |||||
41 | /** | 41 | /** | ||
42 | * The mainMenu class is the widget displayed in the main window | 42 | * The mainMenu class is the widget displayed in the main window | ||
43 | */ | 43 | */ | ||
44 | class mainMenu : public QWidget, public Ui::MainMenu | 44 | class mainMenu : public QWidget, public Ui::MainMenu | ||
45 | { | 45 | { | ||
46 | Q_OBJECT | 46 | Q_OBJECT | ||
47 | 47 | | |||
48 | public: | 48 | public: | ||
49 | mainMenu(Ksirk::KGameWindow* game, QWidget* parent = 0); | 49 | explicit mainMenu(Ksirk::KGameWindow* game, QWidget* parent = 0); | ||
50 | 50 | | |||
51 | ~mainMenu() override {} | 51 | ~mainMenu() override {} | ||
52 | 52 | | |||
53 | void init(Ksirk::GameLogic::ONU* theWorld); | 53 | void init(Ksirk::GameLogic::ONU* theWorld); | ||
54 | }; | 54 | }; | ||
55 | 55 | | |||
56 | 56 | | |||
57 | #endif | 57 | #endif |