diff options
Diffstat (limited to 'kode/kwsdl/kung/complexbaseinputfield.cpp')
-rw-r--r-- | kode/kwsdl/kung/complexbaseinputfield.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kode/kwsdl/kung/complexbaseinputfield.cpp b/kode/kwsdl/kung/complexbaseinputfield.cpp index bfcd375e2..7466029c7 100644 --- a/kode/kwsdl/kung/complexbaseinputfield.cpp +++ b/kode/kwsdl/kung/complexbaseinputfield.cpp @@ -141,14 +141,14 @@ TQWidget *ComplexBaseInputField::createWidget( TQWidget *parent ) { TQGroupBox *inputWidget = new TQGroupBox( mName, parent ); inputWidget->setColumnLayout( 0, TQt::Horizontal ); - TQGridLayout *tqlayout = new TQGridLayout( inputWidget->tqlayout(), 2, 2, 6 ); + TQGridLayout *layout = new TQGridLayout( inputWidget->layout(), 2, 2, 6 ); InputField::List::Iterator it; int row = 0; for ( it = mFields.begin(); it != mFields.end(); ++it, ++row ) { TQLabel *label = new TQLabel( (*it)->name(), inputWidget ); - tqlayout->addWidget( label, row, 0 ); - tqlayout->addWidget( (*it)->createWidget( inputWidget ), row, 1 ); + layout->addWidget( label, row, 0 ); + layout->addWidget( (*it)->createWidget( inputWidget ), row, 1 ); } return inputWidget; |