diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:53 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:53 -0600 |
commit | 84ace1135cac57993b72fee7105b92def1638d32 (patch) | |
tree | b8871eb76e3db4a062731b0ce7c99c24fac119e8 /libtdegames/kgamelcd.cpp | |
parent | 97d1732e257f8700488d7ca1660ae7eba8fc6065 (diff) | |
download | tdegames-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 'libtdegames/kgamelcd.cpp')
-rw-r--r-- | libtdegames/kgamelcd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libtdegames/kgamelcd.cpp b/libtdegames/kgamelcd.cpp index f0e9d11c..cf079a15 100644 --- a/libtdegames/kgamelcd.cpp +++ b/libtdegames/kgamelcd.cpp @@ -20,7 +20,7 @@ #include "kgamelcd.h" #include "kgamelcd.moc" -#include <layout.h> +#include <tqlayout.h> #include <tqlabel.h> #include <tqtimer.h> @@ -217,7 +217,7 @@ void KGameLCDList::init(const TQString &title) top->setColStretch(1, 1); _title = new TQLabel(title, this); - _title->setAlignment(AlignCenter); + _title->tqsetAlignment(AlignCenter); top->addMultiCellWidget(_title, 0, 0, 0, 1, AlignCenter); } @@ -232,11 +232,11 @@ void KGameLCDList::append(const TQString &leading, TQLCDNumber *lcd) TQLabel *label = 0; if ( !leading.isEmpty() ) { label = new TQLabel(leading, this); - static_cast<TQGridLayout *>(layout())->addWidget(label, i+1, 0); + static_cast<TQGridLayout *>(tqlayout())->addWidget(label, i+1, 0); } d->_leadings.push_back(label); _lcds.push_back(lcd); - static_cast<TQGridLayout *>(layout())->addWidget(lcd, i+1, 1); + static_cast<TQGridLayout *>(tqlayout())->addWidget(lcd, i+1, 1); } void KGameLCDList::clear() |