diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:47:36 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:47:36 -0600 |
commit | 97d1732e257f8700488d7ca1660ae7eba8fc6065 (patch) | |
tree | 4c6397ed2c1dd6f7c3354b5b87f313547d92a35f /kmahjongg/HighScore.cpp | |
parent | 9c27a1a03e02fd53aedc1a182444b35fd8e14967 (diff) | |
download | tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.tar.gz tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmahjongg/HighScore.cpp')
-rw-r--r-- | kmahjongg/HighScore.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmahjongg/HighScore.cpp b/kmahjongg/HighScore.cpp index c38e53b1..637fdf25 100644 --- a/kmahjongg/HighScore.cpp +++ b/kmahjongg/HighScore.cpp @@ -62,7 +62,7 @@ HighScore::HighScore qtarch_Label_3->setGeometry( 10, 45, 30, 30 ); qtarch_Label_3->setFrameStyle( 50 ); qtarch_Label_3->setText( i18n("Pos") ); - qtarch_Label_3->tqsetAlignment( AlignCenter ); + qtarch_Label_3->setAlignment( AlignCenter ); fnt = qtarch_Label_3->font(); fnt.setBold(true); qtarch_Label_3->setFont(fnt); @@ -341,7 +341,7 @@ void HighScore::addRow(int num) { numbersWidgets[num] = new TQLabel( this); numbersWidgets[num]->setGeometry( 10, 75+(num*30), 30, 30 ); numbersWidgets[num]->setFrameStyle( 50 ); - numbersWidgets[num]->tqsetAlignment( AlignRight | AlignVCenter ); + numbersWidgets[num]->setAlignment( AlignRight | AlignVCenter ); numbersWidgets[num]->setNum(num+1); @@ -349,13 +349,13 @@ void HighScore::addRow(int num) { namesWidgets[num] = new TQLabel( this); namesWidgets[num]->setGeometry( 40, 75+(num*30), 150, 30 ); namesWidgets[num]->setFrameStyle( 50 ); - namesWidgets[num]->tqsetAlignment( 289 ); + namesWidgets[num]->setAlignment( 289 ); // board boardWidgets[num] = new TQLabel( this); boardWidgets[num]->setGeometry( 190, 75+(num*30), 80, 30 ); boardWidgets[num]->setFrameStyle( 50 ); - boardWidgets[num]->tqsetAlignment( 289 ); + boardWidgets[num]->setAlignment( 289 ); // score scoresWidgets[num] = new TQLabel( this); @@ -396,11 +396,11 @@ void HighScore::copyTableToScreen(const TQString &name) { elapsedWidgets[p]->setText(buff); } - tqrepaint(false); + repaint(false); } -int HighScore::exec(TQString &tqlayout) { - copyTableToScreen(tqlayout); +int HighScore::exec(TQString &layout) { + copyTableToScreen(layout); return(TQDialog::exec()); } |