summaryrefslogtreecommitdiffstats
path: root/kenolaba/Spy.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:53 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:53 -0600
commit84ace1135cac57993b72fee7105b92def1638d32 (patch)
treeb8871eb76e3db4a062731b0ce7c99c24fac119e8 /kenolaba/Spy.cpp
parent97d1732e257f8700488d7ca1660ae7eba8fc6065 (diff)
downloadtdegames-84ace1135cac57993b72fee7105b92def1638d32.tar.gz
tdegames-84ace1135cac57993b72fee7105b92def1638d32.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 97d1732e257f8700488d7ca1660ae7eba8fc6065.
Diffstat (limited to 'kenolaba/Spy.cpp')
-rw-r--r--kenolaba/Spy.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kenolaba/Spy.cpp b/kenolaba/Spy.cpp
index 079575b4..e9abc41e 100644
--- a/kenolaba/Spy.cpp
+++ b/kenolaba/Spy.cpp
@@ -5,7 +5,7 @@
#include <tqgroupbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
#include <klocale.h>
@@ -23,8 +23,8 @@ Spy::Spy(Board& b)
TQLabel *l = new TQLabel(this);
l->setText( i18n("Actual examined position:") );
- l->setFixedHeight( l->sizeHint().height() );
- l->setAlignment( AlignVCenter | AlignLeft );
+ l->setFixedHeight( l->tqsizeHint().height() );
+ l->tqsetAlignment( AlignVCenter | AlignLeft );
top->addWidget( l );
TQHBoxLayout* b1 = new TQHBoxLayout();
@@ -38,8 +38,8 @@ Spy::Spy(Board& b)
actLabel[i] = new TQLabel(this);
actLabel[i]->setText("---");
// actLabel[i]->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
- actLabel[i]->setAlignment( AlignHCenter | AlignVCenter);
- actLabel[i]->setFixedHeight( actLabel[i]->sizeHint().height() );
+ actLabel[i]->tqsetAlignment( AlignHCenter | AlignVCenter);
+ actLabel[i]->setFixedHeight( actLabel[i]->tqsizeHint().height() );
b2->addWidget( actBoard[i] );
b2->addWidget( actLabel[i] );
@@ -48,8 +48,8 @@ Spy::Spy(Board& b)
l = new TQLabel(this);
l->setText( i18n("Best move so far:") );
- l->setFixedHeight( l->sizeHint().height() );
- l->setAlignment( AlignVCenter | AlignLeft );
+ l->setFixedHeight( l->tqsizeHint().height() );
+ l->tqsetAlignment( AlignVCenter | AlignLeft );
top->addWidget( l );
b1 = new TQHBoxLayout();
@@ -63,8 +63,8 @@ Spy::Spy(Board& b)
bestLabel[i] = new TQLabel(this);
bestLabel[i]->setText("---");
// bestLabel[i]->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
- bestLabel[i]->setAlignment( AlignHCenter | AlignVCenter);
- bestLabel[i]->setFixedHeight( bestLabel[i]->sizeHint().height() );
+ bestLabel[i]->tqsetAlignment( AlignHCenter | AlignVCenter);
+ bestLabel[i]->setFixedHeight( bestLabel[i]->tqsizeHint().height() );
b2->addWidget( bestBoard[i] );
b2->addWidget( bestLabel[i] );