From 97d1732e257f8700488d7ca1660ae7eba8fc6065 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:47:36 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kbackgammon/kbgboard.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kbackgammon/kbgboard.h') 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; -- cgit v1.2.1