diff options
Diffstat (limited to 'doc/html/forever-example.html')
-rw-r--r-- | doc/html/forever-example.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/forever-example.html b/doc/html/forever-example.html index cd79ff549..2ef77fd5b 100644 --- a/doc/html/forever-example.html +++ b/doc/html/forever-example.html @@ -68,7 +68,7 @@ public: Forever( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); protected: void paintEvent( <a href="qpaintevent.html">TQPaintEvent</a> * ); - void timerEvent( <a href="qtimerevent.html">TQTimerEvent</a> * ); + void timerEvent( <a href="tqtimerevent.html">TQTimerEvent</a> * ); private slots: void updateCaption(); private: @@ -92,7 +92,7 @@ private: ** *****************************************************************************/ -#include <<a href="qtimer-h.html">ntqtimer.h</a>> +#include <<a href="tqtimer-h.html">tqtimer.h</a>> #include <<a href="qpainter-h.html">ntqpainter.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <stdlib.h> // defines rand() function @@ -118,10 +118,10 @@ private: } rectangles = 0; <a href="tqobject.html#startTimer">startTimer</a>( 0 ); // run continuous timer - <a href="ntqtimer.html">TQTimer</a> * counter = new <a href="ntqtimer.html">TQTimer</a>( this ); -<a name="x1054"></a> <a href="tqobject.html#connect">connect</a>( counter, TQ_SIGNAL(<a href="ntqtimer.html#timeout">timeout</a>()), + <a href="tqtimer.html">TQTimer</a> * counter = new <a href="tqtimer.html">TQTimer</a>( this ); +<a name="x1054"></a> <a href="tqobject.html#connect">connect</a>( counter, TQ_SIGNAL(<a href="tqtimer.html#timeout">timeout</a>()), this, TQ_SLOT(updateCaption()) ); -<a name="x1053"></a> counter-><a href="ntqtimer.html#start">start</a>( 1000 ); +<a name="x1053"></a> counter-><a href="tqtimer.html#start">start</a>( 1000 ); } @@ -159,7 +159,7 @@ void <a name="f366"></a>Forever::updateCaption() // Handles timer events for the Forever widget. // -<a name="x1048"></a>void Forever::<a href="tqobject.html#timerEvent">timerEvent</a>( <a href="qtimerevent.html">TQTimerEvent</a> * ) +<a name="x1048"></a>void Forever::<a href="tqobject.html#timerEvent">timerEvent</a>( <a href="tqtimerevent.html">TQTimerEvent</a> * ) { for ( int i=0; i<100; i++ ) { <a href="tqwidget.html#repaint">repaint</a>( FALSE ); // repaint, don't erase |