summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kwizardtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/tests/kwizardtest.cpp')
-rw-r--r--kdeui/tests/kwizardtest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdeui/tests/kwizardtest.cpp b/kdeui/tests/kwizardtest.cpp
index 91974263e..a96c9892a 100644
--- a/kdeui/tests/kwizardtest.cpp
+++ b/kdeui/tests/kwizardtest.cpp
@@ -36,10 +36,10 @@ int main(int argc, char **argv)
TQWidget *p = new TQWidget;
TQString msg = TQString("This is page %1 out of 10").arg(i);
TQLabel *label = new TQLabel(msg, p);
- TQHBoxLayout *layout = new TQHBoxLayout(p, 5);
- label->setAlignment(Qt::AlignCenter);
+ TQHBoxLayout *tqlayout = new TQHBoxLayout(p, 5);
+ label->tqsetAlignment(Qt::AlignCenter);
label->setFixedSize(300, 200);
- layout->addWidget(label);
+ tqlayout->addWidget(label);
TQString title = TQString("%1. page").arg(i);
wiz->addPage(p, title);
wiz->setFinishEnabled(p, (i==10));