|
|
|
@ -195,7 +195,7 @@ public slots:
|
|
|
|
|
* Overwritten resize event handler.
|
|
|
|
|
*
|
|
|
|
|
* We overwrite the handler to make sure that all the cells are
|
|
|
|
|
* tqrepainted as well.
|
|
|
|
|
* repainted as well.
|
|
|
|
|
*/
|
|
|
|
|
virtual void resizeEvent(TQResizeEvent *);
|
|
|
|
|
|
|
|
|
@ -474,7 +474,7 @@ class KBgBoardCell : public TQLabel
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* sets the number and color of checkers on this cell
|
|
|
|
|
* takes care of tqrepainting
|
|
|
|
|
* takes care of repainting
|
|
|
|
|
*/
|
|
|
|
|
virtual void cellUpdate(const int p, const bool cubechanged = false) = 0;
|
|
|
|
|
|
|
|
|
@ -622,7 +622,7 @@ class KBgBoardHome : public KBgBoardCell
|
|
|
|
|
public:
|
|
|
|
|
/**
|
|
|
|
|
* sets the number and color of checkers on this cell
|
|
|
|
|
* takes care of tqrepainting
|
|
|
|
|
* takes care of repainting
|
|
|
|
|
*/
|
|
|
|
|
virtual void cellUpdate(const int p, const bool cubechanged = false);
|
|
|
|
|
|
|
|
|
@ -667,7 +667,7 @@ class KBgBoardHome : public KBgBoardCell
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
/**
|
|
|
|
|
* Save old dice to avoid tqrepainting
|
|
|
|
|
* Save old dice to avoid repainting
|
|
|
|
|
*/
|
|
|
|
|
int savedDice[2];
|
|
|
|
|
|
|
|
|
@ -685,7 +685,7 @@ class KBgBoardBar : public KBgBoardCell
|
|
|
|
|
public:
|
|
|
|
|
/**
|
|
|
|
|
* sets the number and color of checkers on this cell
|
|
|
|
|
* takes care of tqrepainting
|
|
|
|
|
* takes care of repainting
|
|
|
|
|
*/
|
|
|
|
|
virtual void cellUpdate(const int p, const bool cubechanged = false);
|
|
|
|
|
|
|
|
|
@ -739,7 +739,7 @@ class KBgBoardField : public KBgBoardCell
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* sets the number and color of checkers on this cell
|
|
|
|
|
* takes care of tqrepainting
|
|
|
|
|
* takes care of repainting
|
|
|
|
|
*/
|
|
|
|
|
virtual void cellUpdate(const int p, const bool cubechanged = false);
|
|
|
|
|
|
|
|
|
|