diff options
Diffstat (limited to 'kdeui/tests/kwizardtest.cpp')
-rw-r--r-- | kdeui/tests/kwizardtest.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdeui/tests/kwizardtest.cpp b/kdeui/tests/kwizardtest.cpp index 2d5f7e288..960929f8c 100644 --- a/kdeui/tests/kwizardtest.cpp +++ b/kdeui/tests/kwizardtest.cpp @@ -18,8 +18,8 @@ * */ -#include <qlabel.h> -#include <qlayout.h> +#include <tqlabel.h> +#include <tqlayout.h> #include <kapplication.h> #include <kwizard.h> @@ -27,20 +27,20 @@ int main(int argc, char **argv) { KApplication a(argc,argv,"kwizardtest"); KWizard *wiz = new KWizard(0, "kwizardtest", false); - QObject::connect((QObject*) wiz->cancelButton(), SIGNAL(clicked()), - &a, SLOT(quit())); - QObject::connect((QObject*) wiz->finishButton(), SIGNAL(clicked()), - &a, SLOT(quit())); + TQObject::connect((TQObject*) wiz->cancelButton(), TQT_SIGNAL(clicked()), + &a, TQT_SLOT(quit())); + TQObject::connect((TQObject*) wiz->finishButton(), TQT_SIGNAL(clicked()), + &a, TQT_SLOT(quit())); for(int i = 1; i < 11; i++) { - QWidget *p = new QWidget; - QString msg = QString("This is page %1 out of 10").arg(i); - QLabel *label = new QLabel(msg, p); - QHBoxLayout *layout = new QHBoxLayout(p, 5); + TQWidget *p = new QWidget; + 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); label->setFixedSize(300, 200); layout->addWidget(label); - QString title = QString("%1. page").arg(i); + TQString title = TQString("%1. page").arg(i); wiz->addPage(p, title); wiz->setFinishEnabled(p, (i==10)); } |