summaryrefslogtreecommitdiffstats
path: root/kbackgammon/kbgboard.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:36 -0600
commit97d1732e257f8700488d7ca1660ae7eba8fc6065 (patch)
tree4c6397ed2c1dd6f7c3354b5b87f313547d92a35f /kbackgammon/kbgboard.h
parent9c27a1a03e02fd53aedc1a182444b35fd8e14967 (diff)
downloadtdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.tar.gz
tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kbackgammon/kbgboard.h')
-rw-r--r--kbackgammon/kbgboard.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kbackgammon/kbgboard.h b/kbackgammon/kbgboard.h
index f91ab93b..ed5feeea 100644
--- a/kbackgammon/kbgboard.h
+++ b/kbackgammon/kbgboard.h
@@ -64,9 +64,9 @@
/*
* Just some internal constants and classes
*/
-const int US = KBgtqStatus::US;
-const int THEM = KBgtqStatus::THEM;
-const int BOTH = KBgtqStatus::BOTH;
+const int US = KBgStatus::US;
+const int THEM = KBgStatus::THEM;
+const int BOTH = KBgStatus::BOTH;
const int HOME_US_LEFT = 101;
const int HOME_US_RIGHT = 102;
@@ -181,7 +181,7 @@ class KBgBoard : public TQWidget
* This function has to be reimplemented to provide a minimum size for
* the playing area.
*/
- TQSize tqminimumSizeHint() const;
+ TQSize minimumSizeHint() const;
public slots:
/**
@@ -211,10 +211,10 @@ public slots:
/**
* This is the most important public member. It takes
- * a board status - s. the KBgBoardtqStatus class -
+ * a board status - s. the KBgBoardStatus class -
* and sets the board accordingly.
*/
- void setState(const KBgtqStatus &);
+ void setState(const KBgStatus &);
/**
* Set the context menu
@@ -224,7 +224,7 @@ public slots:
/**
* Get the current state of the board.
*/
- KBgtqStatus *getState(KBgtqStatus *st) const;
+ KBgStatus *getState(KBgStatus *st) const;
/**
* Sets the edit mode of the board. In that mode the board can be
@@ -292,7 +292,7 @@ public slots:
/* ************************************************** */
protected:
- virtual TQSize tqsizeHint() const;
+ virtual TQSize sizeHint() const;
TQColor baseColors[2];
TQFont boardFont;
@@ -535,7 +535,7 @@ protected:
virtual void drawContents(TQPainter *);
/**
- * tqStatus numbers that store the current board status.
+ * Status numbers that store the current board status.
*/
int mouseButton;
int direction;
@@ -552,7 +552,7 @@ protected:
int cellID;
/**
- * Indicates whether this cell needs to tqrepaint itself after
+ * Indicates whether this cell needs to repaint itself after
* the board has been processed.
*/
bool stateChanged;
@@ -837,7 +837,7 @@ public:
protected:
/**
- * Spin boxes and buttons are tqchildren
+ * Spin boxes and buttons are children
*/
TQSpinBox *sb[2];
TQPushButton *ok;
@@ -871,7 +871,7 @@ public:
protected:
/**
- * Spin boxes and buttons are tqchildren
+ * Spin boxes and buttons are children
*/
TQComboBox *cb[2];
TQPushButton *ok;