diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-04 11:53:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-04 13:56:43 +0900 |
commit | 0582c90a9ed4b965629267713f51c0da7c38b39d (patch) | |
tree | cae95e850081d0a7f2be6cef5837f43a28d53d2c /doc/html/drawlines-example.html | |
parent | 39f8a475b4ec5c87a11a7e9300a30ef1c5b4a7e1 (diff) | |
download | tqt3-0582c90a9ed4b965629267713f51c0da7c38b39d.tar.gz tqt3-0582c90a9ed4b965629267713f51c0da7c38b39d.zip |
Rename remaining ntq[m-r]* related files to equivalent tq* (except ntqmodules.h)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/drawlines-example.html')
-rw-r--r-- | doc/html/drawlines-example.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/drawlines-example.html b/doc/html/drawlines-example.html index d2026c467..dba4804be 100644 --- a/doc/html/drawlines-example.html +++ b/doc/html/drawlines-example.html @@ -70,9 +70,9 @@ public: ~ConnectWidget(); protected: void paintEvent( <a href="tqpaintevent.html">TQPaintEvent</a> * ); - void mousePressEvent( <a href="qmouseevent.html">TQMouseEvent</a> *); - void mouseReleaseEvent( <a href="qmouseevent.html">TQMouseEvent</a> *); - void mouseMoveEvent( <a href="qmouseevent.html">TQMouseEvent</a> *); + void mousePressEvent( <a href="tqmouseevent.html">TQMouseEvent</a> *); + void mouseReleaseEvent( <a href="tqmouseevent.html">TQMouseEvent</a> *); + void mouseMoveEvent( <a href="tqmouseevent.html">TQMouseEvent</a> *); private: <a href="tqpoint.html">TQPoint</a> *points; // point array <a href="tqcolor.html">TQColor</a> *colors; // color array @@ -124,7 +124,7 @@ ConnectWidget::~ConnectWidget() // Handles mouse press events for the connect widget. // -<a name="x1659"></a>void ConnectWidget::<a href="tqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> * ) +<a name="x1659"></a>void ConnectWidget::<a href="tqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="tqmouseevent.html">TQMouseEvent</a> * ) { down = TRUE; count = 0; // start recording points @@ -136,7 +136,7 @@ ConnectWidget::~ConnectWidget() // Handles mouse release events for the connect widget. // -<a name="x1660"></a>void ConnectWidget::<a href="tqwidget.html#mouseReleaseEvent">mouseReleaseEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> * ) +<a name="x1660"></a>void ConnectWidget::<a href="tqwidget.html#mouseReleaseEvent">mouseReleaseEvent</a>( <a href="tqmouseevent.html">TQMouseEvent</a> * ) { down = FALSE; // done recording points <a href="tqwidget.html#update">update</a>(); // draw the lines @@ -147,12 +147,12 @@ ConnectWidget::~ConnectWidget() // Handles mouse move events for the connect widget. // -<a name="x1658"></a>void ConnectWidget::<a href="tqwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *e ) +<a name="x1658"></a>void ConnectWidget::<a href="tqwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a href="tqmouseevent.html">TQMouseEvent</a> *e ) { if ( down && count < MAXPOINTS ) { <a href="tqpainter.html">TQPainter</a> paint( this ); -<a name="x1654"></a> points[count++] = e-><a href="qmouseevent.html#pos">pos</a>(); // add point -<a name="x1656"></a> paint.<a href="tqpainter.html#drawPoint">drawPoint</a>( e-><a href="qmouseevent.html#pos">pos</a>() ); // plot point +<a name="x1654"></a> points[count++] = e-><a href="tqmouseevent.html#pos">pos</a>(); // add point +<a name="x1656"></a> paint.<a href="tqpainter.html#drawPoint">drawPoint</a>( e-><a href="tqmouseevent.html#pos">pos</a>() ); // plot point } } |