diff options
Diffstat (limited to 'doc/html/wizard-example.html')
-rw-r--r-- | doc/html/wizard-example.html | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/html/wizard-example.html b/doc/html/wizard-example.html index 55495dd97..4e69f8ce3 100644 --- a/doc/html/wizard-example.html +++ b/doc/html/wizard-example.html @@ -62,7 +62,7 @@ class Wizard : public <a href="ntqwizard.html">TQWizard</a> <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: - Wizard( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 ); + Wizard( <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 ); void showPage(TQWidget* page); @@ -98,7 +98,7 @@ protected slots: #include "wizard.h" -#include <<a href="qwidget-h.html">ntqwidget.h</a>> +#include <<a href="tqwidget-h.html">tqwidget.h</a>> #include <<a href="qhbox-h.html">ntqhbox.h</a>> #include <<a href="qvbox-h.html">ntqvbox.h</a>> #include <<a href="qlabel-h.html">ntqlabel.h</a>> @@ -107,14 +107,14 @@ protected slots: #include <<a href="qvalidator-h.html">ntqvalidator.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> -<a name="f182"></a>Wizard::Wizard( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) +<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 ) { setupPage1(); setupPage2(); setupPage3(); -<a name="x11"></a> key-><a href="ntqwidget.html#setFocus">setFocus</a>(); +<a name="x11"></a> key-><a href="tqwidget.html#setFocus">setFocus</a>(); } void <a name="f183"></a>Wizard::setupPage1() @@ -124,12 +124,12 @@ void <a name="f183"></a>Wizard::setupPage1() <a href="ntqlabel.html">TQLabel</a> *info = new <a href="ntqlabel.html">TQLabel</a>( page1 ); <a name="x1"></a> info-><a href="ntqframe.html#setMargin">setMargin</a>( 11 ); -<a name="x14"></a> info-><a href="ntqwidget.html#setPalette">setPalette</a>( yellow ); +<a name="x14"></a> info-><a href="tqwidget.html#setPalette">setPalette</a>( yellow ); <a name="x4"></a> info-><a href="ntqlabel.html#setText">setText</a>( "Enter your personal\n" "key here.\n\n" "Your personal key\n" "consists of 4 digits" ); -<a name="x5"></a><a name="x12"></a> info-><a href="ntqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); +<a name="x5"></a><a name="x12"></a> info-><a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); <a href="ntqvbox.html">TQVBox</a> *page = new <a href="ntqvbox.html">TQVBox</a>( page1 ); @@ -157,14 +157,14 @@ void <a name="f184"></a>Wizard::setupPage2() <a href="ntqlabel.html">TQLabel</a> *info = new <a href="ntqlabel.html">TQLabel</a>( page2 ); info-><a href="ntqframe.html#setMargin">setMargin</a>( 11 ); - info-><a href="ntqwidget.html#setPalette">setPalette</a>( yellow ); + info-><a href="tqwidget.html#setPalette">setPalette</a>( yellow ); info-><a href="ntqlabel.html#setText">setText</a>( "\n" "Enter your personal\n" "data here.\n\n" "The required fields are\n" "First Name, Last Name \n" "and E-Mail.\n" ); - info-><a href="ntqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); + info-><a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); <a href="ntqvbox.html">TQVBox</a> *page = new <a href="ntqvbox.html">TQVBox</a>( page2 ); @@ -185,11 +185,11 @@ void <a name="f184"></a>Wizard::setupPage2() <a href="ntqlabel.html">TQLabel</a> *label5 = new <a href="ntqlabel.html">TQLabel</a>( " E-Mail: ", row5 ); label5-><a href="ntqlabel.html#setAlignment">setAlignment</a>( TQt::AlignVCenter ); -<a name="x13"></a> label1-><a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); - label2-><a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); - label3-><a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); - label4-><a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); - label5-><a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); +<a name="x13"></a> label1-><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); + label2-><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); + label3-><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); + label4-><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); + label5-><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); firstName = new <a href="ntqlineedit.html">TQLineEdit</a>( row1 ); lastName = new <a href="ntqlineedit.html">TQLineEdit</a>( row2 ); @@ -215,7 +215,7 @@ void <a name="f185"></a>Wizard::setupPage3() page3-><a href="ntqhbox.html#setSpacing">setSpacing</a>(8); <a href="ntqlabel.html">TQLabel</a> *info = new <a href="ntqlabel.html">TQLabel</a>( page3 ); - info-><a href="ntqwidget.html#setPalette">setPalette</a>( yellow ); + info-><a href="tqwidget.html#setPalette">setPalette</a>( yellow ); info-><a href="ntqlabel.html#setText">setText</a>( "\n" "Look here to see of\n" "the data you entered\n" @@ -225,7 +225,7 @@ void <a name="f185"></a>Wizard::setupPage3() "mistakes." ); info-><a href="ntqframe.html#setMargin">setMargin</a>( 11 ); info-><a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignTop|AlignLeft ); - info-><a href="ntqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); + info-><a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); <a href="ntqvbox.html">TQVBox</a> *page = new <a href="ntqvbox.html">TQVBox</a>( page3 ); @@ -249,12 +249,12 @@ void <a name="f185"></a>Wizard::setupPage3() <a href="ntqlabel.html">TQLabel</a> *label6 = new <a href="ntqlabel.html">TQLabel</a>( " E-Mail: ", row6 ); label6-><a href="ntqlabel.html#setAlignment">setAlignment</a>( TQt::AlignVCenter ); - label1-><a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); - label2-><a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); - label3-><a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); - label4-><a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); - label5-><a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); - label6-><a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); + label1-><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); + label2-><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); + label3-><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); + label4-><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); + label5-><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); + label6-><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); lKey = new <a href="ntqlabel.html">TQLabel</a>( row1 ); lFirstName = new <a href="ntqlabel.html">TQLabel</a>( row2 ); @@ -269,7 +269,7 @@ void <a name="f185"></a>Wizard::setupPage3() <a href="ntqwizard.html#setHelpEnabled">setHelpEnabled</a>( page3, FALSE ); } -<a name="x15"></a>void Wizard::<a href="ntqwizard.html#showPage">showPage</a>( <a href="ntqwidget.html">TQWidget</a>* page ) +<a name="x15"></a>void Wizard::<a href="ntqwizard.html#showPage">showPage</a>( <a href="tqwidget.html">TQWidget</a>* page ) { if ( page == page1 ) { } else if ( page == page2 ) { @@ -286,10 +286,10 @@ void <a name="f185"></a>Wizard::setupPage3() if ( page == page1 ) { keyChanged( key-><a href="ntqlineedit.html#text">text</a>() ); - key-><a href="ntqwidget.html#setFocus">setFocus</a>(); + key-><a href="tqwidget.html#setFocus">setFocus</a>(); } else if ( page == page2 ) { dataChanged( firstName-><a href="ntqlineedit.html#text">text</a>() ); - firstName-><a href="ntqwidget.html#setFocus">setFocus</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(); @@ -335,7 +335,7 @@ int main(int argc,char **argv) <a href="ntqapplication.html">TQApplication</a> a(argc,argv); Wizard wizard; - wizard.<a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - Wizard"); + wizard.<a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - Wizard"); <a name="x16"></a> return wizard.<a href="ntqdialog.html#exec">exec</a>(); } </pre> |