summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/kung/pageinputfield.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kode/kwsdl/kung/pageinputfield.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
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;
}