00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef EASYSOK_SOLUTION_SELECT_DIALOG_INC_GUARD_H
00022 #define EASYSOK_SOLUTION_SELECT_DIALOG_INC_GUARD_H
00023
00024
00025 #include <kdialogbase.h>
00026
00027
00028 class CompressedMap;
00029 class SolutionListView;
00030
00031
00032
00033
00041 class SolutionSelectDialog : public KDialogBase
00042 {
00043 Q_OBJECT
00044
00045 public:
00046
00058 SolutionSelectDialog(CompressedMap const & map, bool can_select,
00059 QWidget * parent = 0, const char * name = 0);
00060
00061
00066 SolutionSelectDialog(int index, bool can_select, QWidget * parent = 0, const char * name = 0);
00067
00068
00073 int selectedSolution();
00074
00075
00076 public slots:
00077
00084 void solutionSelected(int index);
00085
00086
00087 protected slots:
00088
00093 void slotOk();
00094
00095
00096 private:
00097
00102 SolutionListView * m_list_view;
00103
00104
00109 int m_selected_solution;
00110 };
00111
00112
00113
00114 #endif