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 |
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); |
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 |