diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:10 -0600 |
commit | 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (patch) | |
tree | cd20202507f54f61a4e58ae64fcd7cdb894abe19 /kbackgammon/kbgboard.h | |
parent | 84ace1135cac57993b72fee7105b92def1638d32 (diff) | |
download | tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.tar.gz tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kbackgammon/kbgboard.h')
-rw-r--r-- | kbackgammon/kbgboard.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kbackgammon/kbgboard.h b/kbackgammon/kbgboard.h index f91ab93b..d0d25121 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; |