summaryrefslogtreecommitdiffstats
path: root/kolf
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:09 +0900
commit8b08e8d5f6d410854393049d96157eded0f9b26c (patch)
tree0c982da5cea10ce8af72a79a5ff12f6101309e30 /kolf
parent9f3f41c457e2b491bda3e7ba70ad5b4f312dbff7 (diff)
downloadtdegames-8b08e8d5f6d410854393049d96157eded0f9b26c.tar.gz
tdegames-8b08e8d5f6d410854393049d96157eded0f9b26c.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kolf')
-rw-r--r--kolf/game.cpp2
-rw-r--r--kolf/scoreboard.cpp2
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);
}