summaryrefslogtreecommitdiffstats
path: root/src/resizeoverlay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resizeoverlay.cpp')
-rw-r--r--src/resizeoverlay.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/resizeoverlay.cpp b/src/resizeoverlay.cpp
index a34aeb8..4b17794 100644
--- a/src/resizeoverlay.cpp
+++ b/src/resizeoverlay.cpp
@@ -17,12 +17,12 @@
//BEGIN class ResizeOverlay
-ResizeOverlay::ResizeOverlay( Item *tqparent )
- : TQObject(tqparent)
+ResizeOverlay::ResizeOverlay( Item *parent )
+ : TQObject(parent)
{
b_showResizeHandles = false;
b_visible = true;
- p_item = tqparent;
+ p_item = parent;
}
@@ -137,12 +137,12 @@ void ResizeOverlay::syncY( ResizeHandle *rh1, ResizeHandle *rh2 )
//BEGIN class MechanicsItemOverlay
-MechanicsItemOverlay::MechanicsItemOverlay( MechanicsItem *tqparent )
- : ResizeOverlay(tqparent)
+MechanicsItemOverlay::MechanicsItemOverlay( MechanicsItem *parent )
+ : ResizeOverlay(parent)
{
- p_mechanicsItem = tqparent;
- connect( tqparent, TQT_SIGNAL(moved()), this, TQT_SLOT(slotUpdateResizeHandles()) );
- connect( tqparent, TQT_SIGNAL(resized()), this, TQT_SLOT(slotUpdateResizeHandles()) );
+ p_mechanicsItem = parent;
+ connect( parent, TQT_SIGNAL(moved()), this, TQT_SLOT(slotUpdateResizeHandles()) );
+ connect( parent, TQT_SIGNAL(resized()), this, TQT_SLOT(slotUpdateResizeHandles()) );
m_tl = createResizeHandle( ResizeHandle::rhp_topLeft, ResizeHandle::dt_resize_backwardsDiagonal );
m_tm = createResizeHandle( ResizeHandle::rhp_topMiddle, ResizeHandle::dt_resize_vertical );
@@ -229,11 +229,11 @@ void MechanicsItemOverlay::slotResizeHandleMoved( int id, double dx, double dy )
//BEGIN class RectangularOverlay
-RectangularOverlay::RectangularOverlay( Item *tqparent, int xsnap, int ysnap )
- : ResizeOverlay(tqparent)
+RectangularOverlay::RectangularOverlay( Item *parent, int xsnap, int ysnap )
+ : ResizeOverlay(parent)
{
- connect( tqparent, TQT_SIGNAL(resized()), this, TQT_SLOT(slotUpdateResizeHandles()) );
- connect( tqparent, TQT_SIGNAL(movedBy(double, double )), this, TQT_SLOT(slotMoveAllResizeHandles(double, double )) );
+ connect( parent, TQT_SIGNAL(resized()), this, TQT_SLOT(slotUpdateResizeHandles()) );
+ connect( parent, TQT_SIGNAL(movedBy(double, double )), this, TQT_SLOT(slotMoveAllResizeHandles(double, double )) );
m_tl = createResizeHandle( ResizeHandle::rhp_topLeft, ResizeHandle::dt_resize_backwardsDiagonal, xsnap, ysnap );
m_tm = createResizeHandle( ResizeHandle::rhp_topMiddle, ResizeHandle::dt_resize_vertical, xsnap, ysnap );
@@ -356,11 +356,11 @@ TQRect RectangularOverlay::getSizeRect( bool *ok, bool *widthOk, bool *heightOk
//BEGIN class LineOverlay
-LineOverlay::LineOverlay( Item * tqparent )
- : ResizeOverlay(tqparent)
+LineOverlay::LineOverlay( Item * parent )
+ : ResizeOverlay(parent)
{
- connect( tqparent, TQT_SIGNAL(resized()), this, TQT_SLOT(slotUpdateResizeHandles()) );
- connect( tqparent, TQT_SIGNAL(movedBy(double, double )), this, TQT_SLOT(slotMoveAllResizeHandles(double, double )) );
+ connect( parent, TQT_SIGNAL(resized()), this, TQT_SLOT(slotUpdateResizeHandles()) );
+ connect( parent, TQT_SIGNAL(movedBy(double, double )), this, TQT_SLOT(slotMoveAllResizeHandles(double, double )) );
m_pStart = createResizeHandle( ResizeHandle::rhp_start, ResizeHandle::dt_point_rect );
m_pEnd = createResizeHandle( ResizeHandle::rhp_end, ResizeHandle::dt_point_rect );