diff options
Diffstat (limited to 'doc/html/wizard-wizard-cpp.html')
-rw-r--r-- | doc/html/wizard-wizard-cpp.html | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/doc/html/wizard-wizard-cpp.html b/doc/html/wizard-wizard-cpp.html index 05215f56a..484043e9c 100644 --- a/doc/html/wizard-wizard-cpp.html +++ b/doc/html/wizard-wizard-cpp.html @@ -48,8 +48,8 @@ body { background: #ffffff; color: black; } #include <<a href="qhbox-h.html">ntqhbox.h</a>> #include <<a href="qvbox-h.html">ntqvbox.h</a>> #include <<a href="tqlabel-h.html">tqlabel.h</a>> -#include <<a href="qlineedit-h.html">ntqlineedit.h</a>> -#include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> +#include <<a href="tqlineedit-h.html">tqlineedit.h</a>> +#include <<a href="tqpushbutton-h.html">tqpushbutton.h</a>> #include <<a href="qvalidator-h.html">ntqvalidator.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> @@ -83,11 +83,11 @@ void <a name="f4"></a>Wizard::setupPage1() (void)new <a href="tqlabel.html">TQLabel</a>( "Key:", row1 ); - key = new <a href="ntqlineedit.html">TQLineEdit</a>( row1 ); -<a name="x6"></a> key-><a href="ntqlineedit.html#setMaxLength">setMaxLength</a>( 4 ); -<a name="x7"></a> key-><a href="ntqlineedit.html#setValidator">setValidator</a>( new <a href="qintvalidator.html">TQIntValidator</a>( 1000, 9999, key ) ); + key = new <a href="tqlineedit.html">TQLineEdit</a>( row1 ); +<a name="x6"></a> key-><a href="tqlineedit.html#setMaxLength">setMaxLength</a>( 4 ); +<a name="x7"></a> key-><a href="tqlineedit.html#setValidator">setValidator</a>( new <a href="qintvalidator.html">TQIntValidator</a>( 1000, 9999, key ) ); -<a name="x9"></a> <a href="tqobject.html#connect">connect</a>( key, TQ_SIGNAL( <a href="ntqlineedit.html#textChanged">textChanged</a>( const <a href="tqstring.html">TQString</a> & ) ), +<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" ); @@ -137,17 +137,17 @@ void <a name="f5"></a>Wizard::setupPage2() 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 ); - address = new <a href="ntqlineedit.html">TQLineEdit</a>( row3 ); - phone = new <a href="ntqlineedit.html">TQLineEdit</a>( row4 ); - email = new <a href="ntqlineedit.html">TQLineEdit</a>( row5 ); + firstName = new <a href="tqlineedit.html">TQLineEdit</a>( row1 ); + lastName = new <a href="tqlineedit.html">TQLineEdit</a>( row2 ); + address = new <a href="tqlineedit.html">TQLineEdit</a>( row3 ); + phone = new <a href="tqlineedit.html">TQLineEdit</a>( row4 ); + email = new <a href="tqlineedit.html">TQLineEdit</a>( row5 ); - <a href="tqobject.html#connect">connect</a>( firstName, TQ_SIGNAL( <a href="ntqlineedit.html#textChanged">textChanged</a>( const <a href="tqstring.html">TQString</a> & ) ), + <a href="tqobject.html#connect">connect</a>( firstName, 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="tqobject.html#connect">connect</a>( lastName, TQ_SIGNAL( <a href="ntqlineedit.html#textChanged">textChanged</a>( const <a href="tqstring.html">TQString</a> & ) ), + <a href="tqobject.html#connect">connect</a>( lastName, 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="tqobject.html#connect">connect</a>( email, TQ_SIGNAL( <a href="ntqlineedit.html#textChanged">textChanged</a>( const <a href="tqstring.html">TQString</a> & ) ), + <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" ); @@ -220,21 +220,21 @@ void <a name="f6"></a>Wizard::setupPage3() if ( page == page1 ) { } else if ( page == page2 ) { } else if ( page == page3 ) { -<a name="x8"></a> lKey-><a href="tqlabel.html#setText">setText</a>( key-><a href="ntqlineedit.html#text">text</a>() ); - lFirstName-><a href="tqlabel.html#setText">setText</a>( firstName-><a href="ntqlineedit.html#text">text</a>() ); - lLastName-><a href="tqlabel.html#setText">setText</a>( lastName-><a href="ntqlineedit.html#text">text</a>() ); - lAddress-><a href="tqlabel.html#setText">setText</a>( address-><a href="ntqlineedit.html#text">text</a>() ); - lPhone-><a href="tqlabel.html#setText">setText</a>( phone-><a href="ntqlineedit.html#text">text</a>() ); - lEmail-><a href="tqlabel.html#setText">setText</a>( email-><a href="ntqlineedit.html#text">text</a>() ); +<a name="x8"></a> lKey-><a href="tqlabel.html#setText">setText</a>( key-><a href="tqlineedit.html#text">text</a>() ); + lFirstName-><a href="tqlabel.html#setText">setText</a>( firstName-><a href="tqlineedit.html#text">text</a>() ); + lLastName-><a href="tqlabel.html#setText">setText</a>( lastName-><a href="tqlineedit.html#text">text</a>() ); + lAddress-><a href="tqlabel.html#setText">setText</a>( address-><a href="tqlineedit.html#text">text</a>() ); + lPhone-><a href="tqlabel.html#setText">setText</a>( phone-><a href="tqlineedit.html#text">text</a>() ); + 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); if ( page == page1 ) { - keyChanged( key-><a href="ntqlineedit.html#text">text</a>() ); + keyChanged( key-><a href="tqlineedit.html#text">text</a>() ); key-><a href="tqwidget.html#setFocus">setFocus</a>(); } else if ( page == page2 ) { - dataChanged( firstName-><a href="ntqlineedit.html#text">text</a>() ); + 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 ); @@ -246,15 +246,15 @@ 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="ntqlineedit.html#validator">validator</a>()->validate(t, p) == TQValidator::Acceptable ); +<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 ); } void <a name="f8"></a>Wizard::dataChanged( const <a href="tqstring.html">TQString</a> & ) { - if ( !firstName-><a href="ntqlineedit.html#text">text</a>().isEmpty() && - !lastName-><a href="ntqlineedit.html#text">text</a>().isEmpty() && - !email-><a href="ntqlineedit.html#text">text</a>().isEmpty() ) + 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 ); else <a href="ntqwizard.html#nextButton">nextButton</a>()->setEnabled( FALSE ); |