Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

solution_annotate_dialog.h

00001 /*
00002  *   EasySok --- A(nother) sokoban game for KDE.
00003  *
00004  *   Copyright (C) 2001 by Ralf Schmelter (ralfs@pc2a.chemie.uni-dortmund.de).
00005  *
00006  *   This program is free software; you can redistribute it and/or modify
00007  *   it under the terms of the GNU General Public License version 2 as
00008  *   published by the Free Software Foundation.
00009  *
00010  *   This program is distributed in the hope that it will be useful,
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *   GNU General Public License for more details.
00014  *
00015  *   You should have received a copy of the GNU General Public License
00016  *   along with this program; if not, write to the Free Software
00017  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00018  */
00019 
00020 
00021 #ifndef EASYSOK_SOLUTION_ANNOTATE_DIALOG_INC_GUARD_H
00022 #define EASYSOK_SOLUTION_ANNOTATE_DIALOG_INC_GUARD_H
00023 
00024 
00025 #include <kdialogbase.h>
00026 
00027 
00028 class CompressedMap;
00029 class SolutionListView;
00030 
00031 
00032 
00033 
00041 class SolutionAnnotateDialog : public KDialogBase
00042 {
00043     Q_OBJECT
00044 
00045 public:
00046 
00057     SolutionAnnotateDialog(CompressedMap const & map, QWidget * parent = 0, const char * name = 0);
00058 
00059 
00064     SolutionAnnotateDialog(int index, QWidget * parent = 0, const char * name = 0);
00065 
00066 
00067 public slots:
00068 
00075     void solutionSelected(int index);
00076 
00077 
00078 protected slots:
00079 
00084     void slotUser1();
00085 
00086 
00091     void slotOk();
00092 
00093 
00094 private:
00095 
00102     void annotateSolution(int solution);
00103 
00104 
00109     SolutionListView * m_list_view;
00110 
00111 
00116     int m_index;
00117 };
00118 
00119 
00120 #endif

Generated at Sun Jan 6 18:49:09 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001