From 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 24 Jul 2024 19:37:05 +0900 Subject: Rename text class nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/wizard-wizard-cpp.html | 86 ++++++++++++++++++++--------------------- 1 file changed, 43 insertions(+), 43 deletions(-) (limited to 'doc/html/wizard-wizard-cpp.html') diff --git a/doc/html/wizard-wizard-cpp.html b/doc/html/wizard-wizard-cpp.html index 7a9c1c835..05215f56a 100644 --- a/doc/html/wizard-wizard-cpp.html +++ b/doc/html/wizard-wizard-cpp.html @@ -47,7 +47,7 @@ body { background: #ffffff; color: black; } #include <tqwidget.h> #include <ntqhbox.h> #include <ntqvbox.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlineedit.h> #include <ntqpushbutton.h> #include <ntqvalidator.h> @@ -68,10 +68,10 @@ void Wizard::setupPage1() page1 = new TQHBox( this ); page1->setSpacing(8); - TQLabel *info = new TQLabel( page1 ); + TQLabel *info = new TQLabel( page1 ); info->setMargin( 11 ); info->setPalette( yellow ); - info->setText( "Enter your personal\n" + info->setText( "Enter your personal\n" "key here.\n\n" "Your personal key\n" "consists of 4 digits" ); @@ -81,7 +81,7 @@ void Wizard::setupPage1() TQHBox *row1 = new TQHBox( page ); - (void)new TQLabel( "Key:", row1 ); + (void)new TQLabel( "Key:", row1 ); key = new TQLineEdit( row1 ); key->setMaxLength( 4 ); @@ -101,10 +101,10 @@ void Wizard::setupPage2() page2 = new TQHBox( this ); page2->setSpacing(8); - TQLabel *info = new TQLabel( page2 ); + TQLabel *info = new TQLabel( page2 ); info->setMargin( 11 ); info->setPalette( yellow ); - info->setText( "\n" + info->setText( "\n" "Enter your personal\n" "data here.\n\n" "The required fields are\n" @@ -120,16 +120,16 @@ void Wizard::setupPage2() TQHBox *row4 = new TQHBox( page ); TQHBox *row5 = new TQHBox( page ); - TQLabel *label1 = new TQLabel( " First Name: ", row1 ); - label1->setAlignment( TQt::AlignVCenter ); - TQLabel *label2 = new TQLabel( " Last Name: ", row2 ); - label2->setAlignment( TQt::AlignVCenter ); - TQLabel *label3 = new TQLabel( " Address: ", row3 ); - label3->setAlignment( TQt::AlignVCenter ); - TQLabel *label4 = new TQLabel( " Phone Number: ", row4 ); - label4->setAlignment( TQt::AlignVCenter ); - TQLabel *label5 = new TQLabel( " E-Mail: ", row5 ); - label5->setAlignment( TQt::AlignVCenter ); + TQLabel *label1 = new TQLabel( " First Name: ", row1 ); + label1->setAlignment( TQt::AlignVCenter ); + TQLabel *label2 = new TQLabel( " Last Name: ", row2 ); + label2->setAlignment( TQt::AlignVCenter ); + TQLabel *label3 = new TQLabel( " Address: ", row3 ); + label3->setAlignment( TQt::AlignVCenter ); + TQLabel *label4 = new TQLabel( " Phone Number: ", row4 ); + label4->setAlignment( TQt::AlignVCenter ); + TQLabel *label5 = new TQLabel( " E-Mail: ", row5 ); + label5->setAlignment( TQt::AlignVCenter ); label1->setMinimumWidth( label4->sizeHint().width() ); label2->setMinimumWidth( label4->sizeHint().width() ); @@ -160,9 +160,9 @@ void Wizard::setupPage3() page3 = new TQHBox( this ); page3->setSpacing(8); - TQLabel *info = new TQLabel( page3 ); + TQLabel *info = new TQLabel( page3 ); info->setPalette( yellow ); - info->setText( "\n" + info->setText( "\n" "Look here to see of\n" "the data you entered\n" "is correct. To confirm,\n" @@ -170,7 +170,7 @@ void Wizard::setupPage3() "else go back to correct\n" "mistakes." ); info->setMargin( 11 ); - info->setAlignment( AlignTop|AlignLeft ); + info->setAlignment( AlignTop|AlignLeft ); info->setMaximumWidth( info->sizeHint().width() ); TQVBox *page = new TQVBox( page3 ); @@ -182,18 +182,18 @@ void Wizard::setupPage3() TQHBox *row5 = new TQHBox( page ); TQHBox *row6 = new TQHBox( page ); - TQLabel *label1 = new TQLabel( " Personal Key: ", row1 ); - label1->setAlignment( TQt::AlignVCenter ); - TQLabel *label2 = new TQLabel( " First Name: ", row2 ); - label2->setAlignment( TQt::AlignVCenter ); - TQLabel *label3 = new TQLabel( " Last Name: ", row3 ); - label3->setAlignment( TQt::AlignVCenter ); - TQLabel *label4 = new TQLabel( " Address: ", row4 ); - label4->setAlignment( TQt::AlignVCenter ); - TQLabel *label5 = new TQLabel( " Phone Number: ", row5 ); - label5->setAlignment( TQt::AlignVCenter ); - TQLabel *label6 = new TQLabel( " E-Mail: ", row6 ); - label6->setAlignment( TQt::AlignVCenter ); + TQLabel *label1 = new TQLabel( " Personal Key: ", row1 ); + label1->setAlignment( TQt::AlignVCenter ); + TQLabel *label2 = new TQLabel( " First Name: ", row2 ); + label2->setAlignment( TQt::AlignVCenter ); + TQLabel *label3 = new TQLabel( " Last Name: ", row3 ); + label3->setAlignment( TQt::AlignVCenter ); + TQLabel *label4 = new TQLabel( " Address: ", row4 ); + label4->setAlignment( TQt::AlignVCenter ); + TQLabel *label5 = new TQLabel( " Phone Number: ", row5 ); + label5->setAlignment( TQt::AlignVCenter ); + TQLabel *label6 = new TQLabel( " E-Mail: ", row6 ); + label6->setAlignment( TQt::AlignVCenter ); label1->setMinimumWidth( label1->sizeHint().width() ); label2->setMinimumWidth( label1->sizeHint().width() ); @@ -202,12 +202,12 @@ void Wizard::setupPage3() label5->setMinimumWidth( label1->sizeHint().width() ); label6->setMinimumWidth( label1->sizeHint().width() ); - lKey = new TQLabel( row1 ); - lFirstName = new TQLabel( row2 ); - lLastName = new TQLabel( row3 ); - lAddress = new TQLabel( row4 ); - lPhone = new TQLabel( row5 ); - lEmail = new TQLabel( row6 ); + lKey = new TQLabel( row1 ); + lFirstName = new TQLabel( row2 ); + lLastName = new TQLabel( row3 ); + lAddress = new TQLabel( row4 ); + lPhone = new TQLabel( row5 ); + lEmail = new TQLabel( row6 ); addPage( page3, "Finish" ); @@ -220,12 +220,12 @@ void Wizard::setupPage3() if ( page == page1 ) { } else if ( page == page2 ) { } else if ( page == page3 ) { - lKey->setText( key->text() ); - lFirstName->setText( firstName->text() ); - lLastName->setText( lastName->text() ); - lAddress->setText( address->text() ); - lPhone->setText( phone->text() ); - lEmail->setText( email->text() ); + lKey->setText( key->text() ); + lFirstName->setText( firstName->text() ); + lLastName->setText( lastName->text() ); + lAddress->setText( address->text() ); + lPhone->setText( phone->text() ); + lEmail->setText( email->text() ); } TQWizard::showPage(page); -- cgit v1.2.3