File indexing completed on 2024-05-12 08:00:01
0001 /* 0002 This file is part of Knights, a chess board for KDE SC 4. 0003 SPDX-FileCopyrightText: 2009, 2010, 2011 Miha Čančula <miha@noughmad.eu> 0004 SPDX-FileCopyrightText: 2016 Alexander Semke <alexander.semke@web.de> 0005 0006 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0007 */ 0008 0009 #ifndef KNIGHTS_HISTORYWIDGET_H 0010 #define KNIGHTS_HISTORYWIDGET_H 0011 0012 #include "core/move.h" 0013 0014 #include <QWidget> 0015 0016 namespace Ui { 0017 class HistoryWidget; 0018 } 0019 0020 namespace Knights { 0021 0022 class HistoryWidget : public QWidget { 0023 Q_OBJECT 0024 0025 public: 0026 explicit HistoryWidget(QWidget* parent = nullptr, Qt::WindowFlags f = {}); 0027 ~HistoryWidget() override; 0028 0029 private: 0030 Ui::HistoryWidget* ui; 0031 0032 private Q_SLOTS: 0033 void updateHistory(); 0034 }; 0035 0036 } 0037 0038 #endif // KNIGHTS_HISTORYWIDGET_H