From 04913ce7a46fd027856e83a96205fdc388742a19 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 23 May 2024 14:04:45 +0900 Subject: Rename ntqobject*.h and qobject*.cpp to tqobject* Signed-off-by: Michele Calgaro --- doc/html/tutorial2-06.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/tutorial2-06.html') diff --git a/doc/html/tutorial2-06.html b/doc/html/tutorial2-06.html index 762649abf..4f1ff0bf5 100644 --- a/doc/html/tutorial2-06.html +++ b/doc/html/tutorial2-06.html @@ -273,7 +273,7 @@ vector.
    void CanvasView::contentsContextMenuEvent( TQContextMenuEvent * )
     {
-        ((ChartForm*)parent())->optionsMenu->exec( TQCursor::pos() );
+        ((ChartForm*)parent())->optionsMenu->exec( TQCursor::pos() );
     }
 

When the user invokes a context menu (e.g. by right-clicking on most @@ -285,7 +285,7 @@ position.

    void CanvasView::viewportResizeEvent( TQResizeEvent *e )
     {
         canvas()->resize( e->size().width(), e->size().height() );
-        ((ChartForm*)parent())->drawElements();
+        ((ChartForm*)parent())->drawElements();
     }
 

To resize we simply resize the canvas that the canvas view is @@ -319,7 +319,7 @@ and record its position. Otherwise we set there to be no moving item. TQPoint offset = e->pos() - m_pos; m_movingItem->moveBy( offset.x(), offset.y() ); m_pos = e->pos(); - ChartForm *form = (ChartForm*)parent(); + ChartForm *form = (ChartForm*)parent(); form->setChanged( TRUE ); int chartType = form->chartType(); CanvasText *item = (CanvasText*)m_movingItem; -- cgit v1.2.3