diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-12 22:02:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-12 22:02:11 +0900 |
commit | 42957a3f812a1db64a9ae452baa2d3fbc35f2466 (patch) | |
tree | 0928f4e01a3dcc0698b46c7608d8310e471bdb49 /doc/html/wizard-example.html | |
parent | fef846914f8db6dc117e206ef913d519bf6bb33e (diff) | |
download | tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.tar.gz tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.zip |
Rename more widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/wizard-example.html')
-rw-r--r-- | doc/html/wizard-example.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/html/wizard-example.html b/doc/html/wizard-example.html index 03513778a..196c07b19 100644 --- a/doc/html/wizard-example.html +++ b/doc/html/wizard-example.html @@ -50,14 +50,14 @@ should be used to help a user with complicated actions. #ifndef WIZARD_H #define WIZARD_H -#include <<a href="qwizard-h.html">ntqwizard.h</a>> +#include <<a href="tqwizard-h.html">tqwizard.h</a>> class TQWidget; class TQHBox; class TQLineEdit; class TQLabel; -class Wizard : public <a href="ntqwizard.html">TQWizard</a> +class Wizard : public <a href="tqwizard.html">TQWizard</a> { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> @@ -108,7 +108,7 @@ protected slots: #include <<a href="qapplication-h.html">ntqapplication.h</a>> <a name="f182"></a>Wizard::Wizard( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) - : <a href="ntqwizard.html">TQWizard</a>( parent, name, TRUE ) + : <a href="tqwizard.html">TQWizard</a>( parent, name, TRUE ) { setupPage1(); setupPage2(); @@ -123,7 +123,7 @@ void <a name="f183"></a>Wizard::setupPage1() <a name="x2"></a> page1-><a href="ntqhbox.html#setSpacing">setSpacing</a>(8); <a href="tqlabel.html">TQLabel</a> *info = new <a href="tqlabel.html">TQLabel</a>( page1 ); -<a name="x1"></a> info-><a href="ntqframe.html#setMargin">setMargin</a>( 11 ); +<a name="x1"></a> info-><a href="tqframe.html#setMargin">setMargin</a>( 11 ); <a name="x14"></a> info-><a href="tqwidget.html#setPalette">setPalette</a>( yellow ); <a name="x4"></a> info-><a href="tqlabel.html#setText">setText</a>( "Enter your personal\n" "key here.\n\n" @@ -144,10 +144,10 @@ void <a name="f183"></a>Wizard::setupPage1() <a name="x9"></a> <a href="tqobject.html#connect">connect</a>( key, TQ_SIGNAL( <a href="tqlineedit.html#textChanged">textChanged</a>( const <a href="tqstring.html">TQString</a> & ) ), this, TQ_SLOT( keyChanged( const <a href="tqstring.html">TQString</a> & ) ) ); - <a href="ntqwizard.html#addPage">addPage</a>( page1, "Personal Key" ); + <a href="tqwizard.html#addPage">addPage</a>( page1, "Personal Key" ); - <a href="ntqwizard.html#setNextEnabled">setNextEnabled</a>( page1, FALSE ); - <a href="ntqwizard.html#setHelpEnabled">setHelpEnabled</a>( page1, FALSE ); + <a href="tqwizard.html#setNextEnabled">setNextEnabled</a>( page1, FALSE ); + <a href="tqwizard.html#setHelpEnabled">setHelpEnabled</a>( page1, FALSE ); } void <a name="f184"></a>Wizard::setupPage2() @@ -156,7 +156,7 @@ void <a name="f184"></a>Wizard::setupPage2() page2-><a href="ntqhbox.html#setSpacing">setSpacing</a>(8); <a href="tqlabel.html">TQLabel</a> *info = new <a href="tqlabel.html">TQLabel</a>( page2 ); - info-><a href="ntqframe.html#setMargin">setMargin</a>( 11 ); + info-><a href="tqframe.html#setMargin">setMargin</a>( 11 ); info-><a href="tqwidget.html#setPalette">setPalette</a>( yellow ); info-><a href="tqlabel.html#setText">setText</a>( "\n" "Enter your personal\n" @@ -204,9 +204,9 @@ void <a name="f184"></a>Wizard::setupPage2() <a href="tqobject.html#connect">connect</a>( email, TQ_SIGNAL( <a href="tqlineedit.html#textChanged">textChanged</a>( const <a href="tqstring.html">TQString</a> & ) ), this, TQ_SLOT( dataChanged( const <a href="tqstring.html">TQString</a> & ) ) ); - <a href="ntqwizard.html#addPage">addPage</a>( page2, "Personal Data" ); + <a href="tqwizard.html#addPage">addPage</a>( page2, "Personal Data" ); - <a href="ntqwizard.html#setHelpEnabled">setHelpEnabled</a>( page2, FALSE ); + <a href="tqwizard.html#setHelpEnabled">setHelpEnabled</a>( page2, FALSE ); } void <a name="f185"></a>Wizard::setupPage3() @@ -223,7 +223,7 @@ void <a name="f185"></a>Wizard::setupPage3() "press the [Finish] button\n" "else go back to correct\n" "mistakes." ); - info-><a href="ntqframe.html#setMargin">setMargin</a>( 11 ); + info-><a href="tqframe.html#setMargin">setMargin</a>( 11 ); info-><a href="tqlabel.html#setAlignment">setAlignment</a>( AlignTop|AlignLeft ); info-><a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); @@ -263,13 +263,13 @@ void <a name="f185"></a>Wizard::setupPage3() lPhone = new <a href="tqlabel.html">TQLabel</a>( row5 ); lEmail = new <a href="tqlabel.html">TQLabel</a>( row6 ); - <a href="ntqwizard.html#addPage">addPage</a>( page3, "Finish" ); + <a href="tqwizard.html#addPage">addPage</a>( page3, "Finish" ); - <a href="ntqwizard.html#setFinishEnabled">setFinishEnabled</a>( page3, TRUE ); - <a href="ntqwizard.html#setHelpEnabled">setHelpEnabled</a>( page3, FALSE ); + <a href="tqwizard.html#setFinishEnabled">setFinishEnabled</a>( page3, TRUE ); + <a href="tqwizard.html#setHelpEnabled">setHelpEnabled</a>( page3, FALSE ); } -<a name="x15"></a>void Wizard::<a href="ntqwizard.html#showPage">showPage</a>( <a href="tqwidget.html">TQWidget</a>* page ) +<a name="x15"></a>void Wizard::<a href="tqwizard.html#showPage">showPage</a>( <a href="tqwidget.html">TQWidget</a>* page ) { if ( page == page1 ) { } else if ( page == page2 ) { @@ -282,7 +282,7 @@ void <a name="f185"></a>Wizard::setupPage3() lEmail-><a href="tqlabel.html#setText">setText</a>( email-><a href="tqlineedit.html#text">text</a>() ); } - TQWizard::<a href="ntqwizard.html#showPage">showPage</a>(page); + TQWizard::<a href="tqwizard.html#showPage">showPage</a>(page); if ( page == page1 ) { keyChanged( key-><a href="tqlineedit.html#text">text</a>() ); @@ -291,8 +291,8 @@ void <a name="f185"></a>Wizard::setupPage3() dataChanged( firstName-><a href="tqlineedit.html#text">text</a>() ); firstName-><a href="tqwidget.html#setFocus">setFocus</a>(); } else if ( page == page3 ) { - <a href="ntqwizard.html#finishButton">finishButton</a>()->setEnabled( TRUE ); - <a href="ntqwizard.html#finishButton">finishButton</a>()->setFocus(); + <a href="tqwizard.html#finishButton">finishButton</a>()->setEnabled( TRUE ); + <a href="tqwizard.html#finishButton">finishButton</a>()->setFocus(); } } @@ -301,7 +301,7 @@ void <a name="f186"></a>Wizard::keyChanged( const <a href="tqstring.html">TQStri <a href="tqstring.html">TQString</a> t = text; int p = 0; <a name="x10"></a> bool on = ( key-><a href="tqlineedit.html#validator">validator</a>()->validate(t, p) == TQValidator::Acceptable ); - <a href="ntqwizard.html#nextButton">nextButton</a>()->setEnabled( on ); + <a href="tqwizard.html#nextButton">nextButton</a>()->setEnabled( on ); } void <a name="f187"></a>Wizard::dataChanged( const <a href="tqstring.html">TQString</a> & ) @@ -309,9 +309,9 @@ void <a name="f187"></a>Wizard::dataChanged( const <a href="tqstring.html">TQStr if ( !firstName-><a href="tqlineedit.html#text">text</a>().isEmpty() && !lastName-><a href="tqlineedit.html#text">text</a>().isEmpty() && !email-><a href="tqlineedit.html#text">text</a>().isEmpty() ) - <a href="ntqwizard.html#nextButton">nextButton</a>()->setEnabled( TRUE ); + <a href="tqwizard.html#nextButton">nextButton</a>()->setEnabled( TRUE ); else - <a href="ntqwizard.html#nextButton">nextButton</a>()->setEnabled( FALSE ); + <a href="tqwizard.html#nextButton">nextButton</a>()->setEnabled( FALSE ); } </pre> |