diff options
Diffstat (limited to 'doc/html/wizard-example.html')
-rw-r--r-- | doc/html/wizard-example.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/wizard-example.html b/doc/html/wizard-example.html index 4e69f8ce3..98af583a2 100644 --- a/doc/html/wizard-example.html +++ b/doc/html/wizard-example.html @@ -76,8 +76,8 @@ protected: <a href="ntqlabel.html">TQLabel</a> *lKey, *lFirstName, *lLastName, *lAddress, *lPhone, *lEmail; protected slots: - void keyChanged( const <a href="ntqstring.html">TQString</a> & ); - void dataChanged( const <a href="ntqstring.html">TQString</a> & ); + void keyChanged( const <a href="tqstring.html">TQString</a> & ); + void dataChanged( const <a href="tqstring.html">TQString</a> & ); }; @@ -141,8 +141,8 @@ void <a name="f183"></a>Wizard::setupPage1() <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 ) ); -<a name="x9"></a> <a href="tqobject.html#connect">connect</a>( key, TQ_SIGNAL( <a href="ntqlineedit.html#textChanged">textChanged</a>( const <a href="ntqstring.html">TQString</a> & ) ), - this, TQ_SLOT( keyChanged( const <a href="ntqstring.html">TQString</a> & ) ) ); +<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> & ) ), + this, TQ_SLOT( keyChanged( const <a href="tqstring.html">TQString</a> & ) ) ); <a href="ntqwizard.html#addPage">addPage</a>( page1, "Personal Key" ); @@ -197,12 +197,12 @@ void <a name="f184"></a>Wizard::setupPage2() phone = new <a href="ntqlineedit.html">TQLineEdit</a>( row4 ); email = new <a href="ntqlineedit.html">TQLineEdit</a>( row5 ); - <a href="tqobject.html#connect">connect</a>( firstName, TQ_SIGNAL( <a href="ntqlineedit.html#textChanged">textChanged</a>( const <a href="ntqstring.html">TQString</a> & ) ), - this, TQ_SLOT( dataChanged( const <a href="ntqstring.html">TQString</a> & ) ) ); - <a href="tqobject.html#connect">connect</a>( lastName, TQ_SIGNAL( <a href="ntqlineedit.html#textChanged">textChanged</a>( const <a href="ntqstring.html">TQString</a> & ) ), - this, TQ_SLOT( dataChanged( const <a href="ntqstring.html">TQString</a> & ) ) ); - <a href="tqobject.html#connect">connect</a>( email, TQ_SIGNAL( <a href="ntqlineedit.html#textChanged">textChanged</a>( const <a href="ntqstring.html">TQString</a> & ) ), - this, TQ_SLOT( dataChanged( const <a href="ntqstring.html">TQString</a> & ) ) ); + <a href="tqobject.html#connect">connect</a>( firstName, TQ_SIGNAL( <a href="ntqlineedit.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> & ) ), + 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> & ) ), + this, TQ_SLOT( dataChanged( const <a href="tqstring.html">TQString</a> & ) ) ); <a href="ntqwizard.html#addPage">addPage</a>( page2, "Personal Data" ); @@ -296,15 +296,15 @@ void <a name="f185"></a>Wizard::setupPage3() } } -void <a name="f186"></a>Wizard::keyChanged( const <a href="ntqstring.html">TQString</a> &text ) +void <a name="f186"></a>Wizard::keyChanged( const <a href="tqstring.html">TQString</a> &text ) { - <a href="ntqstring.html">TQString</a> t = text; + <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 href="ntqwizard.html#nextButton">nextButton</a>()->setEnabled( on ); } -void <a name="f187"></a>Wizard::dataChanged( const <a href="ntqstring.html">TQString</a> & ) +void <a name="f187"></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() && |