summaryrefslogtreecommitdiffstats
path: root/doc/html/wizard-wizard-cpp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/wizard-wizard-cpp.html')
-rw-r--r--doc/html/wizard-wizard-cpp.html52
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 &lt;<a href="qhbox-h.html">ntqhbox.h</a>&gt;
#include &lt;<a href="qvbox-h.html">ntqvbox.h</a>&gt;
#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
-#include &lt;<a href="qlineedit-h.html">ntqlineedit.h</a>&gt;
-#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
+#include &lt;<a href="tqlineedit-h.html">tqlineedit.h</a>&gt;
+#include &lt;<a href="tqpushbutton-h.html">tqpushbutton.h</a>&gt;
#include &lt;<a href="qvalidator-h.html">ntqvalidator.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
@@ -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-&gt;<a href="ntqlineedit.html#setMaxLength">setMaxLength</a>( 4 );
-<a name="x7"></a> key-&gt;<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-&gt;<a href="tqlineedit.html#setMaxLength">setMaxLength</a>( 4 );
+<a name="x7"></a> key-&gt;<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> &amp; ) ),
+<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> &amp; ) ),
this, TQ_SLOT( keyChanged( const <a href="tqstring.html">TQString</a> &amp; ) ) );
<a href="ntqwizard.html#addPage">addPage</a>( page1, "Personal Key" );
@@ -137,17 +137,17 @@ void <a name="f5"></a>Wizard::setupPage2()
label4-&gt;<a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>().width() );
label5-&gt;<a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-&gt;<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> &amp; ) ),
+ <a href="tqobject.html#connect">connect</a>( firstName, TQ_SIGNAL( <a href="tqlineedit.html#textChanged">textChanged</a>( const <a href="tqstring.html">TQString</a> &amp; ) ),
this, TQ_SLOT( dataChanged( const <a href="tqstring.html">TQString</a> &amp; ) ) );
- <a href="tqobject.html#connect">connect</a>( lastName, TQ_SIGNAL( <a href="ntqlineedit.html#textChanged">textChanged</a>( const <a href="tqstring.html">TQString</a> &amp; ) ),
+ <a href="tqobject.html#connect">connect</a>( lastName, TQ_SIGNAL( <a href="tqlineedit.html#textChanged">textChanged</a>( const <a href="tqstring.html">TQString</a> &amp; ) ),
this, TQ_SLOT( dataChanged( const <a href="tqstring.html">TQString</a> &amp; ) ) );
- <a href="tqobject.html#connect">connect</a>( email, TQ_SIGNAL( <a href="ntqlineedit.html#textChanged">textChanged</a>( const <a href="tqstring.html">TQString</a> &amp; ) ),
+ <a href="tqobject.html#connect">connect</a>( email, TQ_SIGNAL( <a href="tqlineedit.html#textChanged">textChanged</a>( const <a href="tqstring.html">TQString</a> &amp; ) ),
this, TQ_SLOT( dataChanged( const <a href="tqstring.html">TQString</a> &amp; ) ) );
<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-&gt;<a href="tqlabel.html#setText">setText</a>( key-&gt;<a href="ntqlineedit.html#text">text</a>() );
- lFirstName-&gt;<a href="tqlabel.html#setText">setText</a>( firstName-&gt;<a href="ntqlineedit.html#text">text</a>() );
- lLastName-&gt;<a href="tqlabel.html#setText">setText</a>( lastName-&gt;<a href="ntqlineedit.html#text">text</a>() );
- lAddress-&gt;<a href="tqlabel.html#setText">setText</a>( address-&gt;<a href="ntqlineedit.html#text">text</a>() );
- lPhone-&gt;<a href="tqlabel.html#setText">setText</a>( phone-&gt;<a href="ntqlineedit.html#text">text</a>() );
- lEmail-&gt;<a href="tqlabel.html#setText">setText</a>( email-&gt;<a href="ntqlineedit.html#text">text</a>() );
+<a name="x8"></a> lKey-&gt;<a href="tqlabel.html#setText">setText</a>( key-&gt;<a href="tqlineedit.html#text">text</a>() );
+ lFirstName-&gt;<a href="tqlabel.html#setText">setText</a>( firstName-&gt;<a href="tqlineedit.html#text">text</a>() );
+ lLastName-&gt;<a href="tqlabel.html#setText">setText</a>( lastName-&gt;<a href="tqlineedit.html#text">text</a>() );
+ lAddress-&gt;<a href="tqlabel.html#setText">setText</a>( address-&gt;<a href="tqlineedit.html#text">text</a>() );
+ lPhone-&gt;<a href="tqlabel.html#setText">setText</a>( phone-&gt;<a href="tqlineedit.html#text">text</a>() );
+ lEmail-&gt;<a href="tqlabel.html#setText">setText</a>( email-&gt;<a href="tqlineedit.html#text">text</a>() );
}
TQWizard::<a href="ntqwizard.html#showPage">showPage</a>(page);
if ( page == page1 ) {
- keyChanged( key-&gt;<a href="ntqlineedit.html#text">text</a>() );
+ keyChanged( key-&gt;<a href="tqlineedit.html#text">text</a>() );
key-&gt;<a href="tqwidget.html#setFocus">setFocus</a>();
} else if ( page == page2 ) {
- dataChanged( firstName-&gt;<a href="ntqlineedit.html#text">text</a>() );
+ dataChanged( firstName-&gt;<a href="tqlineedit.html#text">text</a>() );
firstName-&gt;<a href="tqwidget.html#setFocus">setFocus</a>();
} else if ( page == page3 ) {
<a href="ntqwizard.html#finishButton">finishButton</a>()-&gt;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-&gt;<a href="ntqlineedit.html#validator">validator</a>()-&gt;validate(t, p) == TQValidator::Acceptable );
+<a name="x10"></a> bool on = ( key-&gt;<a href="tqlineedit.html#validator">validator</a>()-&gt;validate(t, p) == TQValidator::Acceptable );
<a href="ntqwizard.html#nextButton">nextButton</a>()-&gt;setEnabled( on );
}
void <a name="f8"></a>Wizard::dataChanged( const <a href="tqstring.html">TQString</a> &amp; )
{
- if ( !firstName-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() &amp;&amp;
- !lastName-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() &amp;&amp;
- !email-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() )
+ if ( !firstName-&gt;<a href="tqlineedit.html#text">text</a>().isEmpty() &amp;&amp;
+ !lastName-&gt;<a href="tqlineedit.html#text">text</a>().isEmpty() &amp;&amp;
+ !email-&gt;<a href="tqlineedit.html#text">text</a>().isEmpty() )
<a href="ntqwizard.html#nextButton">nextButton</a>()-&gt;setEnabled( TRUE );
else
<a href="ntqwizard.html#nextButton">nextButton</a>()-&gt;setEnabled( FALSE );