summaryrefslogtreecommitdiffstats
path: root/kolf/kolf.cpp
diff options
context:
space:
mode:
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 fba028cb..246403b9 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);