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/kotext/KoTextCustomItem.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/kotext/KoTextCustomItem.cpp')
| -rw-r--r-- | lib/kotext/KoTextCustomItem.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/kotext/KoTextCustomItem.cpp b/lib/kotext/KoTextCustomItem.cpp index e90eae478..f6eaf7de2 100644 --- a/lib/kotext/KoTextCustomItem.cpp +++ b/lib/kotext/KoTextCustomItem.cpp @@ -81,16 +81,16 @@ void KoTextCustomItem::draw(TQPainter* p, int _x, int _y, int cx, int cy, int cw KoTextStringChar* stringChar = paragraph()->at( charIndex ); // Convert x, y, cx, cy, cw and ch from Layout Units to pixels. - int x = zh->tqlayoutUnitToPixelX(_x) /*+ stringChar->pixelxadj*/; - int y = zh->tqlayoutUnitToPixelY(_y); - cx = zh->tqlayoutUnitToPixelX(cx); - cy = zh->tqlayoutUnitToPixelY(cy); - cw = zh->tqlayoutUnitToPixelX(_x,cw); - ch = zh->tqlayoutUnitToPixelY(_y,ch); - int wpix = zh->tqlayoutUnitToPixelX(_x,width); - int hpix = zh->tqlayoutUnitToPixelX(_y,height); + int x = zh->layoutUnitToPixelX(_x) /*+ stringChar->pixelxadj*/; + int y = zh->layoutUnitToPixelY(_y); + cx = zh->layoutUnitToPixelX(cx); + cy = zh->layoutUnitToPixelY(cy); + cw = zh->layoutUnitToPixelX(_x,cw); + ch = zh->layoutUnitToPixelY(_y,ch); + int wpix = zh->layoutUnitToPixelX(_x,width); + int hpix = zh->layoutUnitToPixelX(_y,height); //kdDebug(32500)<<"After x :"<<x<<" y :"<<y<<" cx :"<<cx<<" cy :"<<cy<<" ch :"<<ch<<" cw :"<<cw<<endl; - int ascentpix = zh->tqlayoutUnitToPixelY( _y, ascent() ); + int ascentpix = zh->layoutUnitToPixelY( _y, ascent() ); KoTextFormat * fmt = stringChar->format(); |
