Changeset View
Changeset View
Standalone View
Standalone View
ksirk/Dialogs/jabbergameui.h
Show All 11 Lines | 1 | /* This file is part of KsirK. | |||
---|---|---|---|---|---|
12 | General Public License for more details. | 12 | General Public License for more details. | ||
13 | 13 | | |||
14 | You should have received a copy of the GNU General Public License | 14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program; if not, write to the Free Software | 15 | along with this program; if not, write to the Free Software | ||
16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
17 | 02110-1301, USA | 17 | 02110-1301, USA | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef JABBERGAMEWIDGET_H | 20 | #ifndef JABBERGAMEUI_H | ||
21 | #define JABBERGAMEWIDGET_H | 21 | #define JABBERGAMEUI_H | ||
22 | 22 | | |||
23 | #include "ui_jabbergameui.h" | 23 | #include "ui_jabbergameui.h" | ||
24 | #include "Jabber/jabberclient.h" | 24 | #include "Jabber/jabberclient.h" | ||
25 | 25 | | |||
26 | #include <QWidget> | 26 | #include <QWidget> | ||
27 | 27 | | |||
28 | #include <qca.h> | 28 | #include <qca.h> | ||
29 | 29 | | |||
30 | namespace Ksirk | 30 | namespace Ksirk | ||
31 | { | 31 | { | ||
32 | namespace GameLogic | 32 | namespace GameLogic | ||
33 | { | 33 | { | ||
34 | class GameAutomaton; | 34 | class GameAutomaton; | ||
35 | } | 35 | } | ||
36 | } | 36 | } | ||
37 | class KsirkJabberGameWidget : public QWidget, public Ui::KsirkJabberGameWidget | 37 | class KsirkJabberGameWidget : public QWidget, public Ui::KsirkJabberGameWidget | ||
38 | { | 38 | { | ||
39 | Q_OBJECT | 39 | Q_OBJECT | ||
40 | public: | 40 | public: | ||
41 | KsirkJabberGameWidget(QWidget* parent); | 41 | explicit KsirkJabberGameWidget(QWidget* parent); | ||
42 | 42 | | |||
43 | ~KsirkJabberGameWidget() override {} | 43 | ~KsirkJabberGameWidget() override {} | ||
44 | 44 | | |||
45 | inline void setPreviousGuiIndex(int previousIndex) {m_previousGuiIndex = previousIndex;} | 45 | inline void setPreviousGuiIndex(int previousIndex) {m_previousGuiIndex = previousIndex;} | ||
46 | 46 | | |||
47 | void init(Ksirk::GameLogic::GameAutomaton* automaton); | 47 | void init(Ksirk::GameLogic::GameAutomaton* automaton); | ||
48 | 48 | | |||
49 | Q_SIGNALS: | 49 | Q_SIGNALS: | ||
Show All 37 Lines |