File indexing completed on 2024-05-19 04:07:53
0001 /* 0002 SPDX-FileCopyrightText: 2009-2011 Stefan Majewsky <majewsky@gmx.net> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef PALAPELI_MAINWINDOW_H 0008 #define PALAPELI_MAINWINDOW_H 0009 0010 #include <KXmlGuiWindow> 0011 0012 namespace Palapeli 0013 { 0014 class GamePlay; 0015 0016 class MainWindow : public KXmlGuiWindow 0017 { 0018 Q_OBJECT 0019 public: 0020 explicit MainWindow(const QString &path); 0021 protected: 0022 bool queryClose() override; 0023 private Q_SLOTS: 0024 void enableMessages(); 0025 private: 0026 void setupActions(); 0027 0028 Palapeli::GamePlay* m_game; 0029 }; 0030 } 0031 0032 #endif // PALAPELI_MAINWINDOW_H