diff options
Diffstat (limited to 'kode/kwsdl/kung/pageinputfield.cpp')
-rw-r--r-- | kode/kwsdl/kung/pageinputfield.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kode/kwsdl/kung/pageinputfield.cpp b/kode/kwsdl/kung/pageinputfield.cpp index 956e54bfc..04f66ffa0 100644 --- a/kode/kwsdl/kung/pageinputfield.cpp +++ b/kode/kwsdl/kung/pageinputfield.cpp @@ -88,18 +88,18 @@ TQString PageInputField::data() const TQWidget *PageInputField::createWidget( TQWidget *parent ) { TQWidget *mInputWidget = new TQWidget( parent, "PageInputWidget" ); - TQGridLayout *layout = new TQGridLayout( mInputWidget, 2, 2, 11, 6 ); + TQGridLayout *tqlayout = new TQGridLayout( mInputWidget, 2, 2, 11, 6 ); InputField::List::Iterator it; int row = 0; for ( it = mFields.begin(); it != mFields.end(); ++it, ++row ) { TQLabel *label = new TQLabel( (*it)->name(), mInputWidget ); - label->setAlignment( Qt::AlignTop ); - layout->addWidget( label, row, 0 ); - layout->addWidget( (*it)->createWidget( mInputWidget ), row, 1 ); + label->tqsetAlignment( Qt::AlignTop ); + tqlayout->addWidget( label, row, 0 ); + tqlayout->addWidget( (*it)->createWidget( mInputWidget ), row, 1 ); } - layout->setRowStretch( ++row, 1 ); + tqlayout->setRowStretch( ++row, 1 ); return mInputWidget; } |