diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:20:47 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:20:47 -0600 |
commit | 36770452958a79a095f9d9e605e79f66cfa79a2b (patch) | |
tree | 8c5656dfa9510a332be71bc62e896540eaf76b52 /kmahjongg/Editor.cpp | |
parent | c0f375feba0103bed2bac1b1f05e76e9ae28fa89 (diff) | |
download | tdegames-36770452958a79a095f9d9e605e79f66cfa79a2b.tar.gz tdegames-36770452958a79a095f9d9e605e79f66cfa79a2b.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kmahjongg/Editor.cpp')
-rw-r--r-- | kmahjongg/Editor.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmahjongg/Editor.cpp b/kmahjongg/Editor.cpp index 0c6333c5..b1da62b0 100644 --- a/kmahjongg/Editor.cpp +++ b/kmahjongg/Editor.cpp @@ -35,7 +35,7 @@ // When we assign a tile to draw in a slot we do it in order from te following -// table, wrapping on the tile number. It makes the tile tqlayout look more +// table, wrapping on the tile number. It makes the tile layout look more // random. @@ -69,10 +69,10 @@ Editor::Editor // setup the tool bar setupToolbar(); - TQVBoxLayout *tqlayout = new TQVBoxLayout(this, 1); - tqlayout->addWidget(topToolbar,0); - tqlayout->addWidget(drawFrame,1); - tqlayout->activate(); + TQVBoxLayout *layout = new TQVBoxLayout(this, 1); + layout->addWidget(topToolbar,0); + layout->addWidget(drawFrame,1); + layout->activate(); resize( sWidth+60, sHeight+60); setMinimumSize( sWidth+60, sHeight+60); @@ -272,7 +272,7 @@ void Editor::loadBoard() { KURL url = KFileDialog::getOpenURL( NULL, - i18n("*.tqlayout|Board Layout (*.tqlayout)\n" + i18n("*.layout|Board Layout (*.layout)\n" "*|All Files"), this, i18n("Open Board Layout" )); @@ -309,7 +309,7 @@ bool Editor::saveBoard() { // get a save file name KURL url = KFileDialog::getSaveURL( NULL, - i18n("*.tqlayout|Board Layout (*.tqlayout)\n" + i18n("*.layout|Board Layout (*.layout)\n" "*|All Files"), this, i18n("Save Board Layout" )); @@ -373,7 +373,7 @@ bool Editor::testSave() // The main paint event, draw in the grid and blit in -// the tiles as specified by the tqlayout. +// the tiles as specified by the layout. void Editor::paintEvent( TQPaintEvent* ) { |