/[projects]/queensgui/src/board.h
ViewVC logotype

Diff of /queensgui/src/board.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1 by torben, Thu Jul 19 21:34:15 2007 UTC revision 5 by torben, Fri Jul 20 01:22:53 2007 UTC
# Line 22  Line 22 
22    
23  #include <qwidget.h>  #include <qwidget.h>
24  #include "solution.h"  #include "solution.h"
25  #include "intsolution.h"  
26  #include "config.h"  #include "config.h"
27  /**  /**
28  @author Torben Nielsen  @author Torben Nielsen
# Line 33  Q_OBJECT Line 33  Q_OBJECT
33  public:  public:
34      Board(QWidget *parent = 0, const char *name = 0);      Board(QWidget *parent = 0, const char *name = 0);
35      ~Board();      ~Board();
36      void setMatrix(Solution sol);      void setMatrix(Solution* sol);
37      void setMatrix(IntSolution sol);      //void setMatrix(IntSolution sol);
38            
39  public slots:  public slots:
40      void setSize(int size);      void setSize(int size);
# Line 49  protected: Line 49  protected:
49      void contextMenuEvent( QContextMenuEvent * );      void contextMenuEvent( QContextMenuEvent * );
50    
51      int m_size;      int m_size;
52      Solution m_sol;      Solution* m_sol;
     bool m_hasData;  
53  };  };
54    
55  #endif  #endif

Legend:
Removed from v.1  
changed lines
  Added in v.5

  ViewVC Help
Powered by ViewVC 1.1.20