#ifndef KrossWordPlayer_H
#define KrossWordPlayer_H

#include <kapp.h>
#include <kmainwindow.h>
#include <ktoolbar.h>
#include <ktoolbarbutton.h>
#include <kpopupmenu.h>
#include <kmenubar.h>
#include <kfiledialog.h>
#include <kaboutdialog.h>
#include <kstatusbar.h>
#include "QzCrossWord.h"

class KrossWordPlayer : public KMainWindow {
    Q_OBJECT

    public:
        KrossWordPlayer ();
       ~KrossWordPlayer ();

    public slots:
        void          setPuzzle         (const QString& filename);
        void          savePuzzle        (const QString& filename);
        void          launchOpenDialog  ();
        void          launchSaveDialog  ();
        void          launchAboutDialog ();
        void          revealSolution    ();
        void          revealWord        ();
        void          revealLetter      ();
        void          checkSolution     ();
        void          checkWord         ();
        void          checkLetter       ();
        void          clearSolution     ();

    private:
        QzCrossWord*  _crossWord;
        KPopupMenu*   _fileMenu;
        KPopupMenu*   _viewMenu;
        KPopupMenu*   _helpMenu;
        KToolBar*     _toolBar;
};

#endif

