summaryrefslogtreecommitdiffstats
path: root/kenolaba/EvalDlgImpl.h
blob: e7e4cb0d67a814e2eec6b5e285898101a0117235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
 * Some Implementation details for configEval Dialog
 *
 */

#ifndef _EVALDLGIMPL_H_
#define _EVALDLGIMPL_H_

#include "EvalDlg.h"

class EvalScheme;
class Board;

class EvalDlgImpl: public EvalDlg
{
 Q_OBJECT

 public:
  EvalDlgImpl(TQWidget* parent, Board* board);
 ~EvalDlgImpl();

  EvalScheme* evalScheme() { return _scheme; }

 public slots:
 void deleteEntry();
 void saveas();
 void select(int i);
 void updateCount();
 void updateMove();
 void updateFields();
 void updateInARow();

 private:
  void updateEval();
  void updateWidgets();
  void connectEditLines();
  void disconnectEditLines();

  EvalScheme *_origScheme, *_scheme;
  Board* _board;
};

#endif // _EVALDLGIMPL_H_