From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/html/chart-canvasview-cpp.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'doc/html/chart-canvasview-cpp.html') diff --git a/doc/html/chart-canvasview-cpp.html b/doc/html/chart-canvasview-cpp.html index ebbf86ebb..cce3adf60 100644 --- a/doc/html/chart-canvasview-cpp.html +++ b/doc/html/chart-canvasview-cpp.html @@ -35,29 +35,29 @@ body { background: #ffffff; color: black; }
#include "canvasview.h"
 #include "chartform.h"
 
-#include <qcursor.h>
-#include <qpoint.h>
-#include <qpopupmenu.h>
-#include <qstatusbar.h>
+#include <ntqcursor.h>
+#include <ntqpoint.h>
+#include <ntqpopupmenu.h>
+#include <ntqstatusbar.h>
 
 
-void CanvasView::contentsContextMenuEvent( TQContextMenuEvent * )
+void CanvasView::contentsContextMenuEvent( TQContextMenuEvent * )
 {
-    ((ChartForm*)parent())->optionsMenu->exec( TQCursor::pos() );
+    ((ChartForm*)parent())->optionsMenu->exec( TQCursor::pos() );
 }
 
 
-void CanvasView::viewportResizeEvent( TQResizeEvent *e )
+void CanvasView::viewportResizeEvent( TQResizeEvent *e )
 {
     canvas()->resize( e->size().width(), e->size().height() );
-    ((ChartForm*)parent())->drawElements();
+    ((ChartForm*)parent())->drawElements();
 }
 
 
-void CanvasView::contentsMousePressEvent( TQMouseEvent *e )
+void CanvasView::contentsMousePressEvent( TQMouseEvent *e )
 {
     TQCanvasItemList list = canvas()->collisions( e->pos() );
-    for ( TQCanvasItemList::iterator it = list.begin(); it != list.end(); ++it )
+    for ( TQCanvasItemList::iterator it = list.begin(); it != list.end(); ++it )
         if ( (*it)->rtti() == CanvasText::CANVAS_TEXT ) {
             m_movingItem = *it;
             m_pos = e->pos();
@@ -67,13 +67,13 @@ void CanvasView::contentsMous
 }
 
 
-void CanvasView::contentsMouseMoveEvent( TQMouseEvent *e )
+void CanvasView::contentsMouseMoveEvent( TQMouseEvent *e )
 {
     if ( m_movingItem ) {
-        TQPoint offset = e->pos() - m_pos;
-        m_movingItem->moveBy( offset.x(), offset.y() );
+        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