diff options
author | Michele Calgaro <[email protected]> | 2023-09-02 15:53:09 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-04 10:29:26 +0900 |
commit | 1ece3ab54a7c973756eeb539fb24df4f5563e117 (patch) | |
tree | 183d91483f9c5aa16c1174bb00050052513d56ca /kolf | |
parent | 43d761c13e328fd8096616efe9229be7a3867dfb (diff) | |
download | tdegames-1ece3ab54a7c973756eeb539fb24df4f5563e117.tar.gz tdegames-1ece3ab54a7c973756eeb539fb24df4f5563e117.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 8b08e8d5f6d410854393049d96157eded0f9b26c)
Diffstat (limited to 'kolf')
-rw-r--r-- | kolf/game.cpp | 2 | ||||
-rw-r--r-- | kolf/scoreboard.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kolf/game.cpp b/kolf/game.cpp index 3c6978fd..e4c298fe 100644 --- a/kolf/game.cpp +++ b/kolf/game.cpp @@ -2197,7 +2197,7 @@ KolfGame::KolfGame(ObjectList *obj, PlayerList *players, TQString filename, TQWi margin = 10; - setFocusPolicy(TQ_StrongFocus); + setFocusPolicy(TQWidget::StrongFocus); setFixedSize(width + 2 * margin, height + 2 * margin); setMargins(margin, margin, margin, margin); diff --git a/kolf/scoreboard.cpp b/kolf/scoreboard.cpp index 17c29bce..69128b00 100644 --- a/kolf/scoreboard.cpp +++ b/kolf/scoreboard.cpp @@ -17,7 +17,7 @@ ScoreBoard::ScoreBoard(TQWidget *parent, const char *name) vh->setLabel(numRows() - 1, i18n("Par")); hh->setLabel(numCols() - 1, i18n("Total")); - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); setRowReadOnly(0, true); setRowReadOnly(1, true); } |