diff options
Diffstat (limited to 'src/itemdocument.cpp')
-rw-r--r-- | src/itemdocument.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/itemdocument.cpp b/src/itemdocument.cpp index 283eb5f..7aded9b 100644 --- a/src/itemdocument.cpp +++ b/src/itemdocument.cpp @@ -266,7 +266,7 @@ void ItemDocument::print() p.setClipRect( 0, 0, w, h, TQPainter::CoordPainter ); // Send off the painter for drawing - m_canvas->tqsetBackgroundPixmap( 0 ); + m_canvas->setBackgroundPixmap( 0 ); TQRect bounding = canvasBoundingRect(); unsigned int rows = (unsigned) std::ceil( double( bounding.height() ) / double( h ) ); @@ -672,7 +672,7 @@ void ItemDocument::updateBackground() } pm.setDefaultOptimization( TQPixmap::BestOptim ); - m_canvas->tqsetBackgroundPixmap(pm); // and the finale. + m_canvas->setBackgroundPixmap(pm); // and the finale. } @@ -894,7 +894,7 @@ void ItemDocument::exportToImage() TQPainter p(outputImage); - m_canvas->tqsetBackgroundPixmap(TQPixmap()); + m_canvas->setBackgroundPixmap(TQPixmap()); m_canvas->drawArea( saveArea, &p ); updateBackground(); @@ -1304,9 +1304,9 @@ void Canvas::drawForeground ( TQPainter &p, const TQRect & clip ) return; } - p.setBrush( firstView->tqcolorGroup().background() ); + p.setBrush( firstView->colorGroup().background() ); p.drawRoundRect( x, y, w+2*b, h+2*b, (8*200)/(w+2*b), (8*200)/(h+2*b) ); - t->draw( &p, x+b, y+b, TQRect(), firstView->tqcolorGroup() ); + t->draw( &p, x+b, y+b, TQRect(), firstView->colorGroup() ); delete t; } |