summaryrefslogtreecommitdiffstats
path: root/kmahjongg
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:10 -0600
commit0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (patch)
treecd20202507f54f61a4e58ae64fcd7cdb894abe19 /kmahjongg
parent84ace1135cac57993b72fee7105b92def1638d32 (diff)
downloadtdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.tar.gz
tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kmahjongg')
-rw-r--r--kmahjongg/Editor.cpp2
-rw-r--r--kmahjongg/HighScore.cpp8
-rw-r--r--kmahjongg/Preview.cpp2
-rw-r--r--kmahjongg/kmahjongg.cpp8
-rw-r--r--kmahjongg/settings.ui2
5 files changed, 11 insertions, 11 deletions
diff --git a/kmahjongg/Editor.cpp b/kmahjongg/Editor.cpp
index cc80831c..14038f5d 100644
--- a/kmahjongg/Editor.cpp
+++ b/kmahjongg/Editor.cpp
@@ -170,7 +170,7 @@ void Editor::setupToolbar()
// status in the toolbar for now (ick)
theLabel = new TQLabel(statusText(), topToolbar);
- int lWidth = theLabel->tqsizeHint().width();
+ int lWidth = theLabel->sizeHint().width();
topToolbar->insertWidget(ID_TOOL_STATUS,lWidth, theLabel );
topToolbar->alignItemRight( ID_TOOL_STATUS, true );
diff --git a/kmahjongg/HighScore.cpp b/kmahjongg/HighScore.cpp
index c38e53b1..d0e64042 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);
diff --git a/kmahjongg/Preview.cpp b/kmahjongg/Preview.cpp
index ff635e5c..d775eda5 100644
--- a/kmahjongg/Preview.cpp
+++ b/kmahjongg/Preview.cpp
@@ -41,7 +41,7 @@ Preview::Preview(TQWidget* parent) : KDialogBase(parent), m_tiles(true)
m_changed = false;
setMainWidget(page);
- setFixedSize(tqsizeHint());
+ setFixedSize(sizeHint());
}
Preview::~Preview()
diff --git a/kmahjongg/kmahjongg.cpp b/kmahjongg/kmahjongg.cpp
index 8bd9b107..541a6193 100644
--- a/kmahjongg/kmahjongg.cpp
+++ b/kmahjongg/kmahjongg.cpp
@@ -179,19 +179,19 @@ void KMahjongg::setupStatusBar()
tilesLeftLabel= new TQLabel("Removed: 0000/0000", statusBar());
tilesLeftLabel->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
- statusBar()->addWidget(tilesLeftLabel, tilesLeftLabel->tqsizeHint().width(), ID_STATUS_GAME);
+ statusBar()->addWidget(tilesLeftLabel, tilesLeftLabel->sizeHint().width(), ID_STATUS_GAME);
gameNumLabel = new TQLabel("Game: 000000000000000000000", statusBar());
gameNumLabel->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
- statusBar()->addWidget(gameNumLabel, gameNumLabel->tqsizeHint().width(), ID_STATUS_TILENUMBER);
+ statusBar()->addWidget(gameNumLabel, gameNumLabel->sizeHint().width(), ID_STATUS_TILENUMBER);
statusLabel= new TQLabel("Kmahjongg", statusBar());
statusLabel->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
- statusBar()->addWidget(statusLabel, statusLabel->tqsizeHint().width(), ID_STATUS_MESSAGE);
+ statusBar()->addWidget(statusLabel, statusLabel->sizeHint().width(), ID_STATUS_MESSAGE);
- // pStatusBar->tqsetAlignment( ID_STATUS_TILENUMBER, AlignCenter );
+ // pStatusBar->setAlignment( ID_STATUS_TILENUMBER, AlignCenter );
}
void KMahjongg::setDisplayedWidth()
diff --git a/kmahjongg/settings.ui b/kmahjongg/settings.ui
index 594cf9b7..0cfb2594 100644
--- a/kmahjongg/settings.ui
+++ b/kmahjongg/settings.ui
@@ -92,7 +92,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>