summaryrefslogtreecommitdiffstats
path: root/kbackgammon/engines/generic/kbgengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbackgammon/engines/generic/kbgengine.h')
-rw-r--r--kbackgammon/engines/generic/kbgengine.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/kbackgammon/engines/generic/kbgengine.h b/kbackgammon/engines/generic/kbgengine.h
index d254a910..c43b31b5 100644
--- a/kbackgammon/engines/generic/kbgengine.h
+++ b/kbackgammon/engines/generic/kbgengine.h
@@ -35,7 +35,7 @@ class TQPopupMenu;
class KDialogBase;
-class KBgStatus;
+class KBgtqStatus;
/**
*
@@ -58,16 +58,18 @@ class KBgStatus;
* @author Jens Hoefkens <jens@hoefkens.com>
*
*/
-class KBgEngine:public QObject
+class KBgEngine:public TQObject
{
- Q_OBJECT public:
+ Q_OBJECT
+ TQ_OBJECT
+public:
enum Command { Redo, Undo, Roll, Cube, Done, Load };
/**
* Constructor
*/
- KBgEngine (TQWidget * parent = 0, TQString * name = 0, TQPopupMenu * pmenu = 0);
+ KBgEngine (TQWidget * tqparent = 0, TQString * name = 0, TQPopupMenu * pmenu = 0);
/**
* Destructor
@@ -247,12 +249,12 @@ signals:
/**
* Emit the most recent game state
*/
- void newState (const KBgStatus &);
+ void newState (const KBgtqStatus &);
/**
* Tell the board that we need the current state of the board.
*/
- void getState (KBgStatus *);
+ void getState (KBgtqStatus *);
/**
* Starts/ends the edit mode of the board