diff options
Diffstat (limited to 'doc/html/wizard-wizard-cpp.html')
-rw-r--r-- | doc/html/wizard-wizard-cpp.html | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/html/wizard-wizard-cpp.html b/doc/html/wizard-wizard-cpp.html index 484043e9c..1596911d4 100644 --- a/doc/html/wizard-wizard-cpp.html +++ b/doc/html/wizard-wizard-cpp.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/dialogs/qwizard.cpp:52 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/dialogs/tqwizard.cpp:52 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -54,7 +54,7 @@ body { background: #ffffff; color: black; } #include <<a href="qapplication-h.html">ntqapplication.h</a>> <a name="f3"></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(); @@ -69,7 +69,7 @@ void <a name="f4"></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" @@ -90,10 +90,10 @@ void <a name="f4"></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="f5"></a>Wizard::setupPage2() @@ -102,7 +102,7 @@ void <a name="f5"></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" @@ -150,9 +150,9 @@ void <a name="f5"></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="f6"></a>Wizard::setupPage3() @@ -169,7 +169,7 @@ void <a name="f6"></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() ); @@ -209,13 +209,13 @@ void <a name="f6"></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 ) { @@ -228,7 +228,7 @@ void <a name="f6"></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>() ); @@ -237,8 +237,8 @@ void <a name="f6"></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(); } } @@ -247,7 +247,7 @@ void <a name="f7"></a>Wizard::keyChanged( const <a href="tqstring.html">TQString <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="f8"></a>Wizard::dataChanged( const <a href="tqstring.html">TQString</a> & ) @@ -255,9 +255,9 @@ void <a name="f8"></a>Wizard::dataChanged( const <a href="tqstring.html">TQStrin 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><!-- eof --> <p><address><hr><div align=center> |