diff options
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 cf079a15..f0e9d11c 100644 --- a/libtdegames/kgamelcd.cpp +++ b/libtdegames/kgamelcd.cpp @@ -20,7 +20,7 @@ #include "kgamelcd.h" #include "kgamelcd.moc" -#include <tqlayout.h> +#include <layout.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->tqsetAlignment(AlignCenter); + _title->setAlignment(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 *>(tqlayout())->addWidget(label, i+1, 0); + static_cast<TQGridLayout *>(layout())->addWidget(label, i+1, 0); } d->_leadings.push_back(label); _lcds.push_back(lcd); - static_cast<TQGridLayout *>(tqlayout())->addWidget(lcd, i+1, 1); + static_cast<TQGridLayout *>(layout())->addWidget(lcd, i+1, 1); } void KGameLCDList::clear() |