summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoTextDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoTextDocument.cpp')
-rw-r--r--lib/kotext/KoTextDocument.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kotext/KoTextDocument.cpp b/lib/kotext/KoTextDocument.cpp
index fe20b049..35adf814 100644
--- a/lib/kotext/KoTextDocument.cpp
+++ b/lib/kotext/KoTextDocument.cpp
@@ -729,7 +729,7 @@ void KoTextDocument::setFormat( int id, const KoTextFormat *f, int flags )
if ( !hasSelection( id ) )
return;
- TQApplication::tqclipboard()->setText( selectedText( id ) );
+ TQApplication::clipboard()->setText( selectedText( id ) );
#endif
}*/
@@ -1217,7 +1217,7 @@ void KoTextDocument::drawWithoutDoubleBuffer( TQPainter *p, const TQRect &cr, co
TQRect pr( parag->pixelRect( zoomHandler ) );
pr.setLeft( 0 );
pr.setWidth( TQWIDGETSIZE_MAX );
- // The cliprect is checked in tqlayout units, in KoTextParag::paint
+ // The cliprect is checked in layout units, in KoTextParag::paint
TQRect crect_lu( parag->rect() );
if ( !cr.isNull() && !cr.intersects( pr ) ) {
@@ -1350,7 +1350,7 @@ void KoTextDocument::drawParagWYSIWYG( TQPainter *p, KoTextParag *parag, int cx,
#endif
//painter->setBrushOrigin( painter->brushOrigin() + rect.topLeft() - ir.topLeft() );
- // The cliprect is checked in tqlayout units, in KoTextParag::paint
+ // The cliprect is checked in layout units, in KoTextParag::paint
TQRect crect_lu( zoomHandler->pixelToLayoutUnit( crect ) );
#ifdef DEBUG_PAINTING
kdDebug(32500) << "KoTextDocument::drawParagWYSIWYG crect_lu=" << crect_lu << endl;