summaryrefslogtreecommitdiffstats
path: root/kolf/kolf.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:20:47 -0600
committerSlávek Banko <[email protected]>2012-06-04 01:10:54 +0200
commitedee609d80715382db83adbc8b00c7f74793edcb (patch)
treeb11a53fb2d6b02c5f7613b8fcd724f4b7d5837bf /kolf/kolf.cpp
parent00e58f1937047eb6c23edbdb3ae7ed5feec7a572 (diff)
downloadtdegames-edee609d80715382db83adbc8b00c7f74793edcb.tar.gz
tdegames-edee609d80715382db83adbc8b00c7f74793edcb.zip
Rename obsolete tq methods to standard names
(cherry picked from commit 36770452958a79a095f9d9e605e79f66cfa79a2b)
Diffstat (limited to 'kolf/kolf.cpp')
-rw-r--r--kolf/kolf.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kolf/kolf.cpp b/kolf/kolf.cpp
index 8a90d06a..834ad9cf 100644
--- a/kolf/kolf.cpp
+++ b/kolf/kolf.cpp
@@ -65,7 +65,7 @@ Kolf::Kolf()
filename = TQString();
dummy = new TQWidget(this);
setCentralWidget(dummy);
- tqlayout = new TQGridLayout(dummy, 3, 1);
+ layout = new TQGridLayout(dummy, 3, 1);
resize(420, 480);
}
@@ -176,7 +176,7 @@ void Kolf::startNewGame()
players.clear();
delete scoreboard;
scoreboard = new ScoreBoard(dummy, "Score Board");
- tqlayout->addWidget(scoreboard, 1, 0);
+ layout->addWidget(scoreboard, 1, 0);
scoreboard->show();
if (loadedGame.isNull())
@@ -264,7 +264,7 @@ void Kolf::startNewGame()
game->setShowGuideLine(showGuideLineAction->isChecked());
game->setSound(soundAction->isChecked());
- tqlayout->addWidget(game, 0, 0, AlignCenter);
+ layout->addWidget(game, 0, 0, AlignCenter);
game->show();
game->setFocus();
@@ -372,7 +372,7 @@ void Kolf::createSpacer()
spacer = new KolfGame(obj, &spacerPlayers, KGlobal::dirs()->findResource("appdata", "intro"), dummy);
spacer->setSound(false);
spacer->startFirstHole(1);
- tqlayout->addWidget(spacer, 0, 0, AlignCenter);
+ layout->addWidget(spacer, 0, 0, AlignCenter);
spacer->hidePutter();
spacer->ignoreEvents(true);
@@ -601,7 +601,7 @@ void Kolf::editingStarted()
scoreboard->hide();
- tqlayout->addWidget(editor, 1, 0);
+ layout->addWidget(editor, 1, 0);
editor->show();
clearHoleAction->setEnabled(true);