summaryrefslogtreecommitdiffstats
path: root/lib/kformula/paddedelement.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /lib/kformula/paddedelement.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'lib/kformula/paddedelement.cc')
-rw-r--r--lib/kformula/paddedelement.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kformula/paddedelement.cc b/lib/kformula/paddedelement.cc
index f153a339..e4f28ce7 100644
--- a/lib/kformula/paddedelement.cc
+++ b/lib/kformula/paddedelement.cc
@@ -36,7 +36,7 @@ PaddedElement::PaddedElement( BasicElement* parent ) : SequenceElement( parent )
/**
* Calculates our width and height and
- * our tqchildren's parentPosition.
+ * our children's parentPosition.
*/
void PaddedElement::calcSizes( const ContextStyle& context,
ContextStyle::TextStyle tstyle,
@@ -233,18 +233,18 @@ void PaddedElement::writeSizeAttribute( TQDomElement element, const TQString& st
}
switch ( st ) {
case WidthRelativeSize:
- element.setAttribute( str, prefix + TQString( "%1 width" ).tqarg( s ) );
+ element.setAttribute( str, prefix + TQString( "%1 width" ).arg( s ) );
break;
case HeightRelativeSize:
- element.setAttribute( str, prefix + TQString( "%1 height" ).tqarg( s ) );
+ element.setAttribute( str, prefix + TQString( "%1 height" ).arg( s ) );
case AbsoluteSize:
- element.setAttribute( str, prefix + TQString( "%1pt" ).tqarg( s ) );
+ element.setAttribute( str, prefix + TQString( "%1pt" ).arg( s ) );
break;
case RelativeSize:
- element.setAttribute( str, prefix + TQString( "%1%" ).tqarg( s * 100.0 ) );
+ element.setAttribute( str, prefix + TQString( "%1%" ).arg( s * 100.0 ) );
break;
case PixelSize:
- element.setAttribute( str, prefix + TQString( "%1px" ).tqarg( s ) );
+ element.setAttribute( str, prefix + TQString( "%1px" ).arg( s ) );
break;
default:
break;