summaryrefslogtreecommitdiffstats
path: root/kbackgammon/engines/generic
diff options
context:
space:
mode:
Diffstat (limited to 'kbackgammon/engines/generic')
-rw-r--r--kbackgammon/engines/generic/kbgengine.cpp6
-rw-r--r--kbackgammon/engines/generic/kbgengine.h14
2 files changed, 11 insertions, 9 deletions
diff --git a/kbackgammon/engines/generic/kbgengine.cpp b/kbackgammon/engines/generic/kbgengine.cpp
index 59c19e2f..ac217bd0 100644
--- a/kbackgammon/engines/generic/kbgengine.cpp
+++ b/kbackgammon/engines/generic/kbgengine.cpp
@@ -31,10 +31,10 @@
/*
- * Constructor initializes the QObject
+ * Constructor initializes the TQObject
*/
-KBgEngine::KBgEngine(TQWidget *parent, TQString *name, TQPopupMenu *pmenu)
- : TQObject(parent, name->local8Bit())
+KBgEngine::KBgEngine(TQWidget *tqparent, TQString *name, TQPopupMenu *pmenu)
+ : TQObject(tqparent, name->local8Bit())
{
menu = pmenu;
cl = -1;
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