diff options
Diffstat (limited to 'doc/html/tutorial1-06.html')
-rw-r--r-- | doc/html/tutorial1-06.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/tutorial1-06.html b/doc/html/tutorial1-06.html index 3d2006908..f867e9943 100644 --- a/doc/html/tutorial1-06.html +++ b/doc/html/tutorial1-06.html @@ -54,10 +54,10 @@ widget as a child widget. class LCDRange : public <a href="ntqvbox.html">TQVBox</a> { public: - LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); + LCDRange( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); }; -<a name="f554"></a>LCDRange::LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) +<a name="f554"></a>LCDRange::LCDRange( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqvbox.html">TQVBox</a>( parent, name ) { <a href="ntqlcdnumber.html">TQLCDNumber</a> *lcd = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 2, this, "lcd" ); @@ -70,15 +70,15 @@ public: class MyWidget : public <a href="ntqvbox.html">TQVBox</a> { public: - MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); + MyWidget( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); }; -<a name="f555"></a>MyWidget::MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) +<a name="f555"></a>MyWidget::MyWidget( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqvbox.html">TQVBox</a>( parent, name ) { <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); - quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); + quit-><a href="tqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); <a href="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); @@ -95,7 +95,7 @@ int main( int argc, char **argv ) MyWidget w; a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &w ); - w.<a href="ntqwidget.html#show">show</a>(); + w.<a href="tqwidget.html#show">show</a>(); return a.<a href="ntqapplication.html#exec">exec</a>(); } </pre> @@ -107,12 +107,12 @@ int main( int argc, char **argv ) <a name="1"></a><p> <pre> class LCDRange : public <a href="ntqvbox.html">TQVBox</a> { public: - LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); + LCDRange( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); }; </pre> <p> The LCDRange widget is a widget without any API. It just has a constructor. This sort of widget is not very useful, so we'll add some API later. -<p> <pre> LCDRange::LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) +<p> <pre> LCDRange::LCDRange( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqvbox.html">TQVBox</a>( parent, name ) { <a href="ntqlcdnumber.html">TQLCDNumber</a> *lcd = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 2, this, "lcd" ); @@ -129,15 +129,15 @@ is renamed. <p> <pre> class MyWidget : public <a href="ntqvbox.html">TQVBox</a> { public: - MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); + MyWidget( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); }; </pre> <p> MyWidget, too, contains no API except a constructor. -<p> <pre> MyWidget::MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) +<p> <pre> MyWidget::MyWidget( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqvbox.html">TQVBox</a>( parent, name ) { <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); - <a name="x2328"></a> quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); + <a name="x2328"></a> quit-><a href="tqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); <a name="x2321"></a> <a href="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); </pre> |