summaryrefslogtreecommitdiffstats
path: root/lib/kformula/textelement.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/textelement.cc')
-rw-r--r--lib/kformula/textelement.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kformula/textelement.cc b/lib/kformula/textelement.cc
index c42a6e2ff..c9826429e 100644
--- a/lib/kformula/textelement.cc
+++ b/lib/kformula/textelement.cc
@@ -37,8 +37,8 @@
KFORMULA_NAMESPACE_BEGIN
-TextElement::TextElement(TQChar ch, bool beSymbol, BasicElement* tqparent)
- : BasicElement(tqparent), character(ch), symbol(beSymbol)
+TextElement::TextElement(TQChar ch, bool beSymbol, BasicElement* parent)
+ : BasicElement(parent), character(ch), symbol(beSymbol)
{
charStyle( anyChar );
charFamily( anyFamily );
@@ -156,7 +156,7 @@ void TextElement::calcSizes( const ContextStyle& context,
/**
* Draws the whole element including its tqchildren.
- * The `parentOrigin' is the point this element's tqparent starts.
+ * The `parentOrigin' is the point this element's parent starts.
* We can use our parentPosition to get our own origin then.
*/
void TextElement::draw( TQPainter& painter, const LuPixelRect& /*r*/,
@@ -351,9 +351,9 @@ const SymbolTable& TextElement::getSymbolTable() const
}
-void TextElement::writeMathML( TQDomDocument& doc, TQDomNode& tqparent, bool ) const
+void TextElement::writeMathML( TQDomDocument& doc, TQDomNode& parent, bool ) const
{
- tqparent.appendChild( doc.createTextNode( getCharacter() ) );
+ parent.appendChild( doc.createTextNode( getCharacter() ) );
}
/**
@@ -501,8 +501,8 @@ TQString TextElement::formulaString()
}
-EmptyElement::EmptyElement( BasicElement* tqparent )
- : BasicElement( tqparent )
+EmptyElement::EmptyElement( BasicElement* parent )
+ : BasicElement( parent )
{
}