summaryrefslogtreecommitdiffstats
path: root/lib/kformula/matrixelement.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/matrixelement.cc')
-rw-r--r--lib/kformula/matrixelement.cc56
1 files changed, 28 insertions, 28 deletions
diff --git a/lib/kformula/matrixelement.cc b/lib/kformula/matrixelement.cc
index 6b5a5898..7371113f 100644
--- a/lib/kformula/matrixelement.cc
+++ b/lib/kformula/matrixelement.cc
@@ -430,7 +430,7 @@ BasicElement* MatrixElement::goToPos( FormulaCursor* cursor, bool& handled,
/**
* Calculates our width and height and
- * our tqchildren's parentPosition.
+ * our children's parentPosition.
*/
void MatrixElement::calcSizes( const ContextStyle& context,
ContextStyle::TextStyle tstyle,
@@ -508,7 +508,7 @@ void MatrixElement::calcSizes( const ContextStyle& context,
}
/**
- * Draws the whole element including its tqchildren.
+ * Draws the whole element including its children.
* The `parentOrigin' is the point this element's parent starts.
* We can use our parentPosition to get our own origin then.
*/
@@ -1260,7 +1260,7 @@ void MatrixElement::writeMathMLAttributes( TQDomElement& element ) const
{
TQString rownumber;
if ( m_rowNumber ) {
- rownumber = TQString( " %1" ).tqarg( m_rowNumber );
+ rownumber = TQString( " %1" ).arg( m_rowNumber );
}
switch ( m_align ) {
case TopAlign:
@@ -1352,15 +1352,15 @@ void MatrixElement::writeMathMLAttributes( TQDomElement& element ) const
columnwidth.append( "fit " );
break;
case AbsoluteSize:
- columnwidth.append( TQString( "%1pt " ).tqarg( *lengthIt ) );
+ columnwidth.append( TQString( "%1pt " ).arg( *lengthIt ) );
lengthIt++;
break;
case RelativeSize:
- columnwidth.append( TQString( "%1% " ).tqarg( *lengthIt * 100.0 ) );
+ columnwidth.append( TQString( "%1% " ).arg( *lengthIt * 100.0 ) );
lengthIt++;
break;
case PixelSize:
- columnwidth.append( TQString( "%1px " ).tqarg( *lengthIt ) );
+ columnwidth.append( TQString( "%1px " ).arg( *lengthIt ) );
lengthIt++;
break;
case NegativeVeryVeryThinMathSpace:
@@ -1417,13 +1417,13 @@ void MatrixElement::writeMathMLAttributes( TQDomElement& element ) const
element.setAttribute( "width", "auto" );
break;
case AbsoluteSize:
- element.setAttribute( "width", TQString( "%1pt" ).tqarg( m_width ) );
+ element.setAttribute( "width", TQString( "%1pt" ).arg( m_width ) );
break;
case RelativeSize:
- element.setAttribute( "width", TQString( "%1% " ).tqarg( m_width * 100.0 ) );
+ element.setAttribute( "width", TQString( "%1% " ).arg( m_width * 100.0 ) );
break;
case PixelSize:
- element.setAttribute( "width", TQString( "%1px " ).tqarg( m_width ) );
+ element.setAttribute( "width", TQString( "%1px " ).arg( m_width ) );
break;
default:
break;
@@ -1434,13 +1434,13 @@ void MatrixElement::writeMathMLAttributes( TQDomElement& element ) const
typeIt != m_rowSpacingType.end(); typeIt++, lengthIt++ ) {
switch ( *typeIt ) {
case AbsoluteSize:
- rowspacing.append( TQString( "%1pt " ).tqarg( *lengthIt ) );
+ rowspacing.append( TQString( "%1pt " ).arg( *lengthIt ) );
break;
case RelativeSize:
- rowspacing.append( TQString( "%1% " ).tqarg( *lengthIt * 100.0 ) );
+ rowspacing.append( TQString( "%1% " ).arg( *lengthIt * 100.0 ) );
break;
case PixelSize:
- rowspacing.append( TQString( "%1px " ).tqarg( *lengthIt ) );
+ rowspacing.append( TQString( "%1px " ).arg( *lengthIt ) );
break;
default:
break;
@@ -1455,15 +1455,15 @@ void MatrixElement::writeMathMLAttributes( TQDomElement& element ) const
typeIt != m_columnSpacingType.end(); typeIt++ ) {
switch ( *typeIt ) {
case AbsoluteSize:
- columnspacing.append( TQString( "%1pt " ).tqarg( *lengthIt ) );
+ columnspacing.append( TQString( "%1pt " ).arg( *lengthIt ) );
lengthIt++;
break;
case RelativeSize:
- columnspacing.append( TQString( "%1% " ).tqarg( *lengthIt * 100.0 ) );
+ columnspacing.append( TQString( "%1% " ).arg( *lengthIt * 100.0 ) );
lengthIt++;
break;
case PixelSize:
- columnspacing.append( TQString( "%1px " ).tqarg( *lengthIt ) );
+ columnspacing.append( TQString( "%1px " ).arg( *lengthIt ) );
lengthIt++;
break;
case NegativeVeryVeryThinMathSpace:
@@ -1571,13 +1571,13 @@ void MatrixElement::writeMathMLAttributes( TQDomElement& element ) const
TQString framespacing;
switch ( m_frameHSpacingType ) {
case AbsoluteSize:
- framespacing.append( TQString( "%1pt " ).tqarg( m_frameHSpacing ) );
+ framespacing.append( TQString( "%1pt " ).arg( m_frameHSpacing ) );
break;
case RelativeSize:
- framespacing.append( TQString( "%1% " ).tqarg( m_frameHSpacing * 100.0 ) );
+ framespacing.append( TQString( "%1% " ).arg( m_frameHSpacing * 100.0 ) );
break;
case PixelSize:
- framespacing.append( TQString( "%1px " ).tqarg( m_frameHSpacing ) );
+ framespacing.append( TQString( "%1px " ).arg( m_frameHSpacing ) );
break;
case NegativeVeryVeryThinMathSpace:
framespacing.append( "negativeveryverythinmathspace " );
@@ -1626,13 +1626,13 @@ void MatrixElement::writeMathMLAttributes( TQDomElement& element ) const
}
switch ( m_frameVSpacingType ) {
case AbsoluteSize:
- framespacing.append( TQString( "%1pt " ).tqarg( m_frameVSpacing ) );
+ framespacing.append( TQString( "%1pt " ).arg( m_frameVSpacing ) );
break;
case RelativeSize:
- framespacing.append( TQString( "%1% " ).tqarg( m_frameVSpacing * 100.0 ) );
+ framespacing.append( TQString( "%1% " ).arg( m_frameVSpacing * 100.0 ) );
break;
case PixelSize:
- framespacing.append( TQString( "%1px " ).tqarg( m_frameVSpacing ) );
+ framespacing.append( TQString( "%1px " ).arg( m_frameVSpacing ) );
break;
case NegativeVeryVeryThinMathSpace:
framespacing.append( "negativeveryverythinmathspace " );
@@ -1709,13 +1709,13 @@ void MatrixElement::writeMathMLAttributes( TQDomElement& element ) const
}
switch ( m_minLabelSpacingType ) {
case AbsoluteSize:
- element.setAttribute( "minlabelspacing", TQString( "%1pt" ).tqarg( m_minLabelSpacing ) );
+ element.setAttribute( "minlabelspacing", TQString( "%1pt" ).arg( m_minLabelSpacing ) );
break;
case RelativeSize:
- element.setAttribute( "minlabelspacing", TQString( "%1%" ).tqarg( m_minLabelSpacing * 100.0 ) );
+ element.setAttribute( "minlabelspacing", TQString( "%1%" ).arg( m_minLabelSpacing * 100.0 ) );
break;
case PixelSize:
- element.setAttribute( "minlabelspacing", TQString( "%1px" ).tqarg( m_minLabelSpacing ) );
+ element.setAttribute( "minlabelspacing", TQString( "%1px" ).arg( m_minLabelSpacing ) );
break;
case NegativeVeryVeryThinMathSpace:
element.setAttribute( "minlabelspacing", "negativeveryverythinmathspace" );
@@ -1810,7 +1810,7 @@ public:
/**
* Calculates our width and height and
- * our tqchildren's parentPosition.
+ * our children's parentPosition.
*/
virtual void calcSizes( const ContextStyle& context,
ContextStyle::TextStyle tstyle,
@@ -1894,7 +1894,7 @@ void KFCNewLine::execute()
int linePos = parent->content.find( m_line );
parent->content.insert( linePos+1, m_newline );
- // If there are tqchildren to be moved.
+ // If there are children to be moved.
if ( m_line->countChildren() > static_cast<int>( m_pos ) ) {
// Remove anything after position pos from the current line
@@ -1935,7 +1935,7 @@ void KFCNewLine::unexecute()
FormulaElement* formula = m_line->formula();
formula->elementRemoval( m_newline );
- // If there are tqchildren to be moved.
+ // If there are children to be moved.
if ( m_newline->countChildren() > 0 ) {
// Remove anything from the line to be deleted
@@ -2129,7 +2129,7 @@ void MultilineSequenceElement::writeMathML( TQDomDocument& doc,
// The mrow, if it exists.
TQDomNode n = tmp.firstChild().firstChild();
while ( !n.isNull() ) {
- // the illegal TabMarkers are tqchildren of the mrow, child of tmp.
+ // the illegal TabMarkers are children of the mrow, child of tmp.
if ( n.isElement() && n.toElement().tagName() == "TAB" ) {
parent.appendChild( mtd );
mtd = doc.createElement( oasisFormat ? "math:mtd" : "mtd" );