diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 7c71ab86d1f7e387fc3df63b48df07231f111862 (patch) | |
tree | 30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /lib/kofficecore/KoView.cpp | |
parent | afbfdc507bfaafc8824a9808311d57a9ece87510 (diff) | |
download | koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kofficecore/KoView.cpp')
-rw-r--r-- | lib/kofficecore/KoView.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/kofficecore/KoView.cpp b/lib/kofficecore/KoView.cpp index cfb508a4..cebd61be 100644 --- a/lib/kofficecore/KoView.cpp +++ b/lib/kofficecore/KoView.cpp @@ -361,7 +361,7 @@ void KoView::partActivateEvent( KParts::PartActivateEvent *event ) emit childDeactivated( child ); } else - emit tqinvalidated(); + emit invalidated(); } else emit activated( event->activated() ); @@ -390,7 +390,7 @@ void KoView::partSelectEvent( KParts::PartSelectEvent *event ) emit childUnselected( child ); } else - emit tqinvalidated(); + emit invalidated(); } else emit selected( event->selected() ); @@ -723,20 +723,20 @@ KoViewChild::KoViewChild( KoDocumentChild *child, KoView *_parentView ) m_parentView = _parentView; m_child = child; - m_frame = new KoFrame( tqparentView()->canvas() ); + m_frame = new KoFrame( parentView()->canvas() ); KoView *view = child->document()->createView( m_frame ); view->setXMLGUIBuildDocument( child->document()->viewBuildDocument( view ) ); - view->setPartManager( tqparentView()->partManager() ); + view->setPartManager( parentView()->partManager() ); // hack? (Werner) - view->setZoom( tqparentView()->zoom() * TQMAX(child->xScaling(), child->yScaling()) ); + view->setZoom( parentView()->zoom() * TQMAX(child->xScaling(), child->yScaling()) ); m_frame->setView( view ); m_frame->show(); m_frame->raise(); - tqparentView()->canvasAddChild( this ); + parentView()->canvasAddChild( this ); /* @@ -764,7 +764,7 @@ KoViewChild::KoViewChild( KoDocumentChild *child, KoView *_parentView ) // also called right after activation. connect( view, TQT_SIGNAL( activated( bool ) ), - tqparentView(), TQT_SLOT( slotChildActivated( bool ) ) ); + parentView(), TQT_SLOT( slotChildActivated( bool ) ) ); } KoViewChild::~KoViewChild() @@ -782,8 +782,8 @@ void KoViewChild::slotFrameGeometryChanged() // Set our tqgeometry from the frame tqgeometry (R2 reversed) TQRect geom = m_frame->tqgeometry(); int b = m_frame->border(); - TQRect borderRect( geom.x() + b + tqparentView()->canvasXOffset(), - geom.y() + b + tqparentView()->canvasYOffset(), + TQRect borderRect( geom.x() + b + parentView()->canvasXOffset(), + geom.y() + b + parentView()->canvasYOffset(), geom.width() - b * 2, geom.height() - b * 2 ); setGeometry( borderRect ); @@ -791,14 +791,14 @@ void KoViewChild::slotFrameGeometryChanged() if(m_child) { // Set the child tqgeometry from the frame tqgeometry (R1 reversed) - TQRect borderLessRect( geom.x() + m_frame->leftBorder() + tqparentView()->canvasXOffset(), - geom.y() + m_frame->topBorder() + tqparentView()->canvasYOffset(), + TQRect borderLessRect( geom.x() + m_frame->leftBorder() + parentView()->canvasXOffset(), + geom.y() + m_frame->topBorder() + parentView()->canvasYOffset(), geom.width() - m_frame->leftBorder() - m_frame->rightBorder(), geom.height() - m_frame->topBorder() - m_frame->bottomBorder() ); // We don't want to trigger slotDocGeometryChanged again lock(); - TQRect childGeom = tqparentView()->reverseViewTransformations( borderLessRect ); + TQRect childGeom = parentView()->reverseViewTransformations( borderLessRect ); kdDebug() << "KoChild::slotFrameGeometryChanged child tqgeometry " << ( tqgeometry() == childGeom ? "already " : "set to " ) << childGeom << endl; @@ -813,9 +813,9 @@ void KoViewChild::slotDocGeometryChanged() return; // Set frame tqgeometry from child tqgeometry (R1) // The frame's resizeEvent will call slotFrameGeometryChanged. - TQRect geom = tqparentView()->applyViewTransformations( m_child->tqgeometry() ); - TQRect borderRect( geom.x() - m_frame->leftBorder() - tqparentView()->canvasXOffset(), - geom.y() - m_frame->topBorder() - tqparentView()->canvasYOffset(), + TQRect geom = parentView()->applyViewTransformations( m_child->tqgeometry() ); + TQRect borderRect( geom.x() - m_frame->leftBorder() - parentView()->canvasXOffset(), + geom.y() - m_frame->topBorder() - parentView()->canvasYOffset(), geom.width() + m_frame->leftBorder() + m_frame->rightBorder(), geom.height() + m_frame->topBorder() + m_frame->bottomBorder() ); kdDebug() << "KoViewChild::slotDocGeometryChanged frame tqgeometry " |