summaryrefslogtreecommitdiffstats
path: root/lib/kformula/paddedelement.cc
diff options
context:
space:
mode:
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 e4f28ce7..f153a339 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 children's parentPosition.
+ * our tqchildren'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" ).arg( s ) );
+ element.setAttribute( str, prefix + TQString( "%1 width" ).tqarg( s ) );
break;
case HeightRelativeSize:
- element.setAttribute( str, prefix + TQString( "%1 height" ).arg( s ) );
+ element.setAttribute( str, prefix + TQString( "%1 height" ).tqarg( s ) );
case AbsoluteSize:
- element.setAttribute( str, prefix + TQString( "%1pt" ).arg( s ) );
+ element.setAttribute( str, prefix + TQString( "%1pt" ).tqarg( s ) );
break;
case RelativeSize:
- element.setAttribute( str, prefix + TQString( "%1%" ).arg( s * 100.0 ) );
+ element.setAttribute( str, prefix + TQString( "%1%" ).tqarg( s * 100.0 ) );
break;
case PixelSize:
- element.setAttribute( str, prefix + TQString( "%1px" ).arg( s ) );
+ element.setAttribute( str, prefix + TQString( "%1px" ).tqarg( s ) );
break;
default:
break;