/*
  Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
  Copyright (c) 2007 Riccardo Iaconelli <ruphy@fsfe.org>
            
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
*/

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <KXmlGuiWindow>

class PlayField;

class QUrl;

class MainWindow : public KXmlGuiWindow
{
Q_OBJECT
    PlayField* m_main;
public:
    explicit MainWindow(const QUrl& url);
protected:
    void setupActions();
private slots:
    void startingGame();
    void welcomeScreen();
    void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
};

#endif // MAINWINDOW_H

