summaryrefslogtreecommitdiffstats
path: root/doc/html/wizard-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/wizard-example.html')
-rw-r--r--doc/html/wizard-example.html50
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 &lt;<a href="qwidget-h.html">ntqwidget.h</a>&gt;
+#include &lt;<a href="tqwidget-h.html">tqwidget.h</a>&gt;
#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="qlabel-h.html">ntqlabel.h</a>&gt;
@@ -107,14 +107,14 @@ protected slots:
#include &lt;<a href="qvalidator-h.html">ntqvalidator.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
-<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-&gt;<a href="ntqwidget.html#setFocus">setFocus</a>();
+<a name="x11"></a> key-&gt;<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-&gt;<a href="ntqframe.html#setMargin">setMargin</a>( 11 );
-<a name="x14"></a> info-&gt;<a href="ntqwidget.html#setPalette">setPalette</a>( yellow );
+<a name="x14"></a> info-&gt;<a href="tqwidget.html#setPalette">setPalette</a>( yellow );
<a name="x4"></a> info-&gt;<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-&gt;<a href="ntqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
+<a name="x5"></a><a name="x12"></a> info-&gt;<a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-&gt;<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-&gt;<a href="ntqframe.html#setMargin">setMargin</a>( 11 );
- info-&gt;<a href="ntqwidget.html#setPalette">setPalette</a>( yellow );
+ info-&gt;<a href="tqwidget.html#setPalette">setPalette</a>( yellow );
info-&gt;<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-&gt;<a href="ntqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
+ info-&gt;<a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-&gt;<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-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( TQt::AlignVCenter );
-<a name="x13"></a> label1-&gt;<a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
- label2-&gt;<a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
- label3-&gt;<a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
- label4-&gt;<a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
- label5-&gt;<a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
+<a name="x13"></a> label1-&gt;<a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>().width() );
+ label2-&gt;<a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>().width() );
+ label3-&gt;<a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label4-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>().width() );
+ 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 );
@@ -215,7 +215,7 @@ void <a name="f185"></a>Wizard::setupPage3()
page3-&gt;<a href="ntqhbox.html#setSpacing">setSpacing</a>(8);
<a href="ntqlabel.html">TQLabel</a> *info = new <a href="ntqlabel.html">TQLabel</a>( page3 );
- info-&gt;<a href="ntqwidget.html#setPalette">setPalette</a>( yellow );
+ info-&gt;<a href="tqwidget.html#setPalette">setPalette</a>( yellow );
info-&gt;<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-&gt;<a href="ntqframe.html#setMargin">setMargin</a>( 11 );
info-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignTop|AlignLeft );
- info-&gt;<a href="ntqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
+ info-&gt;<a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>( info-&gt;<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-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( TQt::AlignVCenter );
- label1-&gt;<a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
- label2-&gt;<a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
- label3-&gt;<a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
- label4-&gt;<a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
- label5-&gt;<a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
- label6-&gt;<a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().width() );
+ label1-&gt;<a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>().width() );
+ label2-&gt;<a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>().width() );
+ label3-&gt;<a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>().width() );
+ label4-&gt;<a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>().width() );
+ label5-&gt;<a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>().width() );
+ label6-&gt;<a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( label1-&gt;<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-&gt;<a href="ntqlineedit.html#text">text</a>() );
- key-&gt;<a href="ntqwidget.html#setFocus">setFocus</a>();
+ key-&gt;<a href="tqwidget.html#setFocus">setFocus</a>();
} else if ( page == page2 ) {
dataChanged( firstName-&gt;<a href="ntqlineedit.html#text">text</a>() );
- firstName-&gt;<a href="ntqwidget.html#setFocus">setFocus</a>();
+ firstName-&gt;<a href="tqwidget.html#setFocus">setFocus</a>();
} else if ( page == page3 ) {
<a href="ntqwizard.html#finishButton">finishButton</a>()-&gt;setEnabled( TRUE );
<a href="ntqwizard.html#finishButton">finishButton</a>()-&gt;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>