diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/html/tutorial1-12.html | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip |
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tutorial1-12.html')
-rw-r--r-- | doc/html/tutorial1-12.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/tutorial1-12.html b/doc/html/tutorial1-12.html index 209210454..799a80b74 100644 --- a/doc/html/tutorial1-12.html +++ b/doc/html/tutorial1-12.html @@ -61,7 +61,7 @@ definition. { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</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 ); LCDRange( const char *s, TQWidget *parent=0, const char *name=0 ); </pre> @@ -90,7 +90,7 @@ frame. <p> <pre> #include <<a href="qlabel-h.html">ntqlabel.h</a>> </pre> <p> Here we include the <a href="ntqlabel.html">TQLabel</a> class definition. -<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 ) { init(); @@ -122,7 +122,7 @@ initialization code. <a href="tqobject.html#connect">connect</a>( slider, TQ_SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), TQ_SIGNAL(valueChanged(int)) ); - <a href="ntqwidget.html#setFocusProxy">setFocusProxy</a>( slider ); + <a href="tqwidget.html#setFocusProxy">setFocusProxy</a>( slider ); } </pre> <p> The setup of <tt>lcd</tt> and <tt>slider</tt> is the same as in the previous @@ -195,7 +195,7 @@ repaint() on a hidden widget. <a href="ntqregion.html">TQRegion</a> r( targetRect() ); target = TQPoint( 200 + rand() % 190, 10 + rand() % 255 ); - <a name="x2395"></a> <a href="ntqwidget.html#repaint">repaint</a>( r.<a href="ntqrect.html#unite">unite</a>( targetRect() ) ); + <a name="x2395"></a> <a href="tqwidget.html#repaint">repaint</a>( r.<a href="ntqrect.html#unite">unite</a>( targetRect() ) ); } </pre> <p> This private function creates a target center point at a new "random" @@ -310,7 +310,7 @@ you can have really accurate collision detection. <p> Make a moving target. <p> Make sure that the target is always created entirely on-screen. <p> Make sure that the widget cannot be resized so that the target isn't -visible. Hint: <a href="ntqwidget.html#setMinimumSize">TQWidget::setMinimumSize</a>() is your friend. +visible. Hint: <a href="tqwidget.html#setMinimumSize">TQWidget::setMinimumSize</a>() is your friend. <p> Not easy; make it possible to have several shots in the air at the same time. Hint: make a Shot object. <p> You're now ready for <a href="tutorial1-13.html">Chapter 13.</a> |