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 | 6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9 (patch) | |
tree | 31d759580e3bf977fd7fea7a451b535f3c0741a6 /src/flowparts/flowpart.cpp | |
parent | 87a016680e3677da3993f333561e79eb0cead7d5 (diff) | |
download | ktechlab-6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9.tar.gz ktechlab-6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9.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/ktechlab@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/flowparts/flowpart.cpp')
-rw-r--r-- | src/flowparts/flowpart.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/flowparts/flowpart.cpp b/src/flowparts/flowpart.cpp index abf8880..69d42a4 100644 --- a/src/flowparts/flowpart.cpp +++ b/src/flowparts/flowpart.cpp @@ -831,10 +831,10 @@ void FlowPart::orientationPixmap( uint orientation, TQPixmap & pm ) const } TQBitmap tqmask( 50, 50 ); - TQPainter tqmaskPainter(&tqmask); + TQPainter maskPainter(&tqmask); tqmask.fill( TQt::color0 ); - tqmaskPainter.setBrush(TQt::color1); - tqmaskPainter.setPen(TQt::color1); + maskPainter.setBrush(TQt::color1); + maskPainter.setPen(TQt::color1); TQPainter p(&pm); p.setBrush(m_brushCol); @@ -862,14 +862,14 @@ void FlowPart::orientationPixmap( uint orientation, TQPixmap & pm ) const diamond[i] = c[i]; p.drawPolygon(diamond); - tqmaskPainter.drawPolygon(diamond); + maskPainter.drawPolygon(diamond); //END Draw diamond outline //BEGIN Draw input int pos0 = nodeDirToPos( diamondNodePositioning[orientation][0] ); p.drawLine( c[pos0], d[pos0] ); - tqmaskPainter.drawLine( c[pos0], d[pos0] ); + maskPainter.drawLine( c[pos0], d[pos0] ); //END Draw input @@ -883,7 +883,7 @@ void FlowPart::orientationPixmap( uint orientation, TQPixmap & pm ) const int pos1 = nodeDirToPos( diamondNodePositioning[orientation][1] ); tick.translate( d[pos1].x(), d[pos1].y() ); p.drawLineSegments(tick); - tqmaskPainter.drawLineSegments(tick); + maskPainter.drawLineSegments(tick); //END Draw "true" output as a tick @@ -897,14 +897,14 @@ void FlowPart::orientationPixmap( uint orientation, TQPixmap & pm ) const int pos2 = nodeDirToPos( diamondNodePositioning[orientation][2] ); cross.translate( d[pos2].x(), d[pos2].y() ); p.drawLineSegments(cross); - tqmaskPainter.drawLineSegments(cross); + maskPainter.drawLineSegments(cross); //END Draw "false" output as a cross } else if ( m_stdInput || m_stdOutput ) { p.drawRoundRect( int(0.3*size.width()), int(0.4*size.height()), int(0.4*size.width()), int(0.2*size.height()) ); - tqmaskPainter.drawRoundRect( int(0.3*size.width()), int(0.4*size.height()), int(0.4*size.width()), int(0.2*size.height()) ); + maskPainter.drawRoundRect( int(0.3*size.width()), int(0.4*size.height()), int(0.4*size.width()), int(0.2*size.height()) ); int hal = 5; // half arrow length int haw = 3; // half arrow width @@ -952,7 +952,7 @@ void FlowPart::orientationPixmap( uint orientation, TQPixmap & pm ) const } inArrow.translate( d[inPos].x(), d[inPos].y() ); p.drawPolygon(inArrow); - tqmaskPainter.drawPolygon(inArrow); + maskPainter.drawPolygon(inArrow); } if ( outPos != -1 ) @@ -964,7 +964,7 @@ void FlowPart::orientationPixmap( uint orientation, TQPixmap & pm ) const } outArrow.translate( d[outPos].x(), d[outPos].y() ); p.drawPolygon(outArrow); - tqmaskPainter.drawPolygon(outArrow); + maskPainter.drawPolygon(outArrow); } } |