From 7c71ab86d1f7e387fc3df63b48df07231f111862 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: 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 --- kugar/kudesigner_lib/line.cpp | 2 +- kugar/kudesigner_lib/reportitem.cpp | 6 +++--- kugar/kudesigner_lib/reportitem.h | 4 ++-- kugar/kudesigner_lib/view.cpp | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'kugar/kudesigner_lib') diff --git a/kugar/kudesigner_lib/line.cpp b/kugar/kudesigner_lib/line.cpp index caff18a1..fb5a56d5 100644 --- a/kugar/kudesigner_lib/line.cpp +++ b/kugar/kudesigner_lib/line.cpp @@ -113,7 +113,7 @@ void Line::setSection( Band *section ) { props[ "X1" ].setValue( ( int ) ( x() - section->x() ) ); props[ "Y1" ].setValue( ( int ) ( y() - section->y() ) ); - tqparentSection = section; + parentSection = section; } void Line::updateGeomProps() diff --git a/kugar/kudesigner_lib/reportitem.cpp b/kugar/kudesigner_lib/reportitem.cpp index c986c970..78446a9e 100644 --- a/kugar/kudesigner_lib/reportitem.cpp +++ b/kugar/kudesigner_lib/reportitem.cpp @@ -88,19 +88,19 @@ void ReportItem::updateGeomProps() Band *ReportItem::section() { - return tqparentSection; + return parentSection; } void ReportItem::setSection( Band *section ) { props[ "X" ].setValue( ( int ) ( x() - section->x() ) ); props[ "Y" ].setValue( ( int ) ( y() - section->y() ) ); - tqparentSection = section; + parentSection = section; } void ReportItem::setSectionUndestructive( Band *section ) { - tqparentSection = section; + parentSection = section; } TQString ReportItem::getXml() diff --git a/kugar/kudesigner_lib/reportitem.h b/kugar/kudesigner_lib/reportitem.h index 5d10545c..47c5838c 100644 --- a/kugar/kudesigner_lib/reportitem.h +++ b/kugar/kudesigner_lib/reportitem.h @@ -37,7 +37,7 @@ public: : Box( x, y, width, height, canvas ) { setZ( 20 ); - tqparentSection = 0; + parentSection = 0; } virtual int rtti() const { @@ -74,7 +74,7 @@ public: protected: friend class View; - Band *tqparentSection; + Band *parentSection; }; } diff --git a/kugar/kudesigner_lib/view.cpp b/kugar/kudesigner_lib/view.cpp index a74bbd61..6c5c4404 100644 --- a/kugar/kudesigner_lib/view.cpp +++ b/kugar/kudesigner_lib/view.cpp @@ -474,10 +474,10 @@ void View::contentsMouseMoveEvent( TQMouseEvent* e ) { double newXPos = moving->x() + p.x() - moving_start.x(); double newYPos = moving->y() + p.y() - moving_start.y(); - fixMinValues( newYPos, moving->tqparentSection->y(), moving_offsetY ); - fixMinValues( newXPos, moving->tqparentSection->x(), moving_offsetX ); - fixMaxValues( newYPos, moving->height(), moving->tqparentSection->y() + moving->tqparentSection->height(), moving_offsetY ); - fixMaxValues( newXPos, moving->width(), moving->tqparentSection->x() + moving->tqparentSection->width(), moving_offsetX ); + fixMinValues( newYPos, moving->parentSection->y(), moving_offsetY ); + fixMinValues( newXPos, moving->parentSection->x(), moving_offsetX ); + fixMaxValues( newYPos, moving->height(), moving->parentSection->y() + moving->parentSection->height(), moving_offsetY ); + fixMaxValues( newXPos, moving->width(), moving->parentSection->x() + moving->parentSection->width(), moving_offsetX ); double sx = newXPos; double sy = newYPos; -- cgit v1.2.1