summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/kung/pageinputfield.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kwsdl/kung/pageinputfield.cpp')
-rw-r--r--kode/kwsdl/kung/pageinputfield.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kode/kwsdl/kung/pageinputfield.cpp b/kode/kwsdl/kung/pageinputfield.cpp
index 261f58ab4..6ca3409d7 100644
--- a/kode/kwsdl/kung/pageinputfield.cpp
+++ b/kode/kwsdl/kung/pageinputfield.cpp
@@ -20,7 +20,7 @@
*/
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include "inputfieldfactory.h"
@@ -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( TQt::AlignTop );
- layout->addWidget( label, row, 0 );
- layout->addWidget( (*it)->createWidget( mInputWidget ), row, 1 );
+ label->tqsetAlignment( TQt::AlignTop );
+ tqlayout->addWidget( label, row, 0 );
+ tqlayout->addWidget( (*it)->createWidget( mInputWidget ), row, 1 );
}
- layout->setRowStretch( ++row, 1 );
+ tqlayout->setRowStretch( ++row, 1 );
return mInputWidget;
}