From 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 2 Jun 2024 23:07:22 +0900 Subject: Rename ntqwidget* related files to equivalent tqwidget* Signed-off-by: Michele Calgaro --- doc/html/wizard-wizard-cpp.html | 46 ++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 23 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 8967a3c8e..f0f6b0bc0 100644 --- a/doc/html/wizard-wizard-cpp.html +++ b/doc/html/wizard-wizard-cpp.html @@ -44,7 +44,7 @@ body { background: #ffffff; color: black; } #include "wizard.h" -#include <ntqwidget.h> +#include <tqwidget.h> #include <ntqhbox.h> #include <ntqvbox.h> #include <ntqlabel.h> @@ -53,14 +53,14 @@ body { background: #ffffff; color: black; } #include <ntqvalidator.h> #include <ntqapplication.h> -Wizard::Wizard( TQWidget *parent, const char *name ) +Wizard::Wizard( TQWidget *parent, const char *name ) : TQWizard( parent, name, TRUE ) { setupPage1(); setupPage2(); setupPage3(); - key->setFocus(); + key->setFocus(); } void Wizard::setupPage1() @@ -70,12 +70,12 @@ void Wizard::setupPage1() TQLabel *info = new TQLabel( page1 ); info->setMargin( 11 ); - info->setPalette( yellow ); + info->setPalette( yellow ); info->setText( "Enter your personal\n" "key here.\n\n" "Your personal key\n" "consists of 4 digits" ); - info->setMaximumWidth( info->sizeHint().width() ); + info->setMaximumWidth( info->sizeHint().width() ); TQVBox *page = new TQVBox( page1 ); @@ -103,14 +103,14 @@ void Wizard::setupPage2() TQLabel *info = new TQLabel( page2 ); info->setMargin( 11 ); - info->setPalette( yellow ); + info->setPalette( yellow ); info->setText( "\n" "Enter your personal\n" "data here.\n\n" "The required fields are\n" "First Name, Last Name \n" "and E-Mail.\n" ); - info->setMaximumWidth( info->sizeHint().width() ); + info->setMaximumWidth( info->sizeHint().width() ); TQVBox *page = new TQVBox( page2 ); @@ -131,11 +131,11 @@ void Wizard::setupPage2() TQLabel *label5 = new TQLabel( " E-Mail: ", row5 ); label5->setAlignment( TQt::AlignVCenter ); - label1->setMinimumWidth( label4->sizeHint().width() ); - label2->setMinimumWidth( label4->sizeHint().width() ); - label3->setMinimumWidth( label4->sizeHint().width() ); - label4->setMinimumWidth( label4->sizeHint().width() ); - label5->setMinimumWidth( label4->sizeHint().width() ); + label1->setMinimumWidth( label4->sizeHint().width() ); + label2->setMinimumWidth( label4->sizeHint().width() ); + label3->setMinimumWidth( label4->sizeHint().width() ); + label4->setMinimumWidth( label4->sizeHint().width() ); + label5->setMinimumWidth( label4->sizeHint().width() ); firstName = new TQLineEdit( row1 ); lastName = new TQLineEdit( row2 ); @@ -161,7 +161,7 @@ void Wizard::setupPage3() page3->setSpacing(8); TQLabel *info = new TQLabel( page3 ); - info->setPalette( yellow ); + info->setPalette( yellow ); info->setText( "\n" "Look here to see of\n" "the data you entered\n" @@ -171,7 +171,7 @@ void Wizard::setupPage3() "mistakes." ); info->setMargin( 11 ); info->setAlignment( AlignTop|AlignLeft ); - info->setMaximumWidth( info->sizeHint().width() ); + info->setMaximumWidth( info->sizeHint().width() ); TQVBox *page = new TQVBox( page3 ); @@ -195,12 +195,12 @@ void Wizard::setupPage3() TQLabel *label6 = new TQLabel( " E-Mail: ", row6 ); label6->setAlignment( TQt::AlignVCenter ); - label1->setMinimumWidth( label1->sizeHint().width() ); - label2->setMinimumWidth( label1->sizeHint().width() ); - label3->setMinimumWidth( label1->sizeHint().width() ); - label4->setMinimumWidth( label1->sizeHint().width() ); - label5->setMinimumWidth( label1->sizeHint().width() ); - label6->setMinimumWidth( label1->sizeHint().width() ); + label1->setMinimumWidth( label1->sizeHint().width() ); + label2->setMinimumWidth( label1->sizeHint().width() ); + label3->setMinimumWidth( label1->sizeHint().width() ); + label4->setMinimumWidth( label1->sizeHint().width() ); + label5->setMinimumWidth( label1->sizeHint().width() ); + label6->setMinimumWidth( label1->sizeHint().width() ); lKey = new TQLabel( row1 ); lFirstName = new TQLabel( row2 ); @@ -215,7 +215,7 @@ void Wizard::setupPage3() setHelpEnabled( page3, FALSE ); } -void Wizard::showPage( TQWidget* page ) +void Wizard::showPage( TQWidget* page ) { if ( page == page1 ) { } else if ( page == page2 ) { @@ -232,10 +232,10 @@ void Wizard::setupPage3() if ( page == page1 ) { keyChanged( key->text() ); - key->setFocus(); + key->setFocus(); } else if ( page == page2 ) { dataChanged( firstName->text() ); - firstName->setFocus(); + firstName->setFocus(); } else if ( page == page3 ) { finishButton()->setEnabled( TRUE ); finishButton()->setFocus(); -- cgit v1.2.1