From 11191ef0b9908604d1d7aaca382b011ef22c454c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:12:30 -0600 Subject: Rename old tq methods that no longer need a unique name --- lib/kotext/KoTextDocument.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/kotext/KoTextDocument.cpp') diff --git a/lib/kotext/KoTextDocument.cpp b/lib/kotext/KoTextDocument.cpp index b3f24708a..126568ef3 100644 --- a/lib/kotext/KoTextDocument.cpp +++ b/lib/kotext/KoTextDocument.cpp @@ -155,11 +155,11 @@ int KoTextDocument::widthUsed() const int w = 0; while ( p ) { int a = p->tqalignment(); - p->tqsetAlignment( TQt::AlignLeft ); + p->setAlignment( TQt::AlignLeft ); p->tqinvalidate( 0 ); p->format(); w = TQMAX( w, p->rect().width() ); - p->tqsetAlignment( a ); + p->setAlignment( a ); p->tqinvalidate( 0 ); p = p->next(); } @@ -1295,7 +1295,7 @@ void KoTextDocument::drawParagWYSIWYG( TQPainter *p, KoTextParag *parag, int cx, // The test on mat is almost like isIdentity(), but allows for translation. //// ##### The way to fix this: initialize the pixmap to be fully transparent instead // of being white. - TQWMatrix mat = p->tqworldMatrix(); + TQWMatrix mat = p->worldMatrix(); if ( ( mat.m11() != 1.0 || mat.m22() != 1.0 || mat.m12() != 0.0 || mat.m21() != 0.0 ) && brush.style() != TQt::SolidPattern ) useDoubleBuffer = FALSE; -- cgit v1.2.3