summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kwizardtest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/tests/kwizardtest.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/tests/kwizardtest.cpp')
-rw-r--r--kdeui/tests/kwizardtest.cpp22
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));
}