summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner_lib
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit7c71ab86d1f7e387fc3df63b48df07231f111862 (patch)
tree30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /kugar/kudesigner_lib
parentafbfdc507bfaafc8824a9808311d57a9ece87510 (diff)
downloadkoffice-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 'kugar/kudesigner_lib')
-rw-r--r--kugar/kudesigner_lib/line.cpp2
-rw-r--r--kugar/kudesigner_lib/reportitem.cpp6
-rw-r--r--kugar/kudesigner_lib/reportitem.h4
-rw-r--r--kugar/kudesigner_lib/view.cpp8
4 files changed, 10 insertions, 10 deletions
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;