diff options
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp b/kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp index 1046e9d8..6f00df1a 100644 --- a/kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp +++ b/kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp @@ -741,9 +741,9 @@ void KivioSMLStencil::drawOutlineTextBox( KivioShape *pShape, KivioIntraStencilD p.setPen( TQColor(0, 0, 0) ); int tf = pShapeData->vTextAlign() | pShapeData->hTextAlign(); p.drawText( 0, 0, _w, _h, tf | TQt::WordBreak, pShapeData->text() ); - TQBitmap tqmask; - tqmask = pix; - pix.setMask(tqmask); + TQBitmap mask; + mask = pix; + pix.setMask(mask); painter->drawPixmap(_x, _y, pix); } @@ -1976,24 +1976,24 @@ bool KivioSMLStencil::checkCollisionTextBox( KivioShape *, KoPoint * ) int KivioSMLStencil::resizeHandlePositions() { // Calculate the resize handle positions - int tqmask = KIVIO_RESIZE_HANDLE_POSITION_ALL; + int mask = KIVIO_RESIZE_HANDLE_POSITION_ALL; if( m_pProtection->at( kpWidth ) ) { - tqmask &= ~(krhpNE | krhpNW | krhpSW | krhpSE | krhpE | krhpW); + mask &= ~(krhpNE | krhpNW | krhpSW | krhpSE | krhpE | krhpW); } if( m_pProtection->at( kpHeight ) ) { - tqmask &= ~(krhpNE | krhpNW | krhpSW | krhpSE | krhpN | krhpS); + mask &= ~(krhpNE | krhpNW | krhpSW | krhpSE | krhpN | krhpS); } if( m_pProtection->at( kpAspect ) ) { - tqmask = KIVIO_RESIZE_HANDLE_POSITION_CORNERS; + mask = KIVIO_RESIZE_HANDLE_POSITION_CORNERS; } - return tqmask; + return mask; } KivioLineStyle KivioSMLStencil::lineStyle() |