summaryrefslogtreecommitdiffstats
path: root/lib/kformula/symbolelement.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /lib/kformula/symbolelement.cc
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz
koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kformula/symbolelement.cc')
-rw-r--r--lib/kformula/symbolelement.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/kformula/symbolelement.cc b/lib/kformula/symbolelement.cc
index fb2eb69d..a601cea4 100644
--- a/lib/kformula/symbolelement.cc
+++ b/lib/kformula/symbolelement.cc
@@ -36,7 +36,7 @@ class SymbolSequenceElement : public SequenceElement {
typedef SequenceElement inherited;
public:
- SymbolSequenceElement( BasicElement* tqparent = 0 ) : SequenceElement( tqparent ) {}
+ SymbolSequenceElement( BasicElement* parent = 0 ) : SequenceElement( parent ) {}
/**
* This is called by the container to get a command depending on
@@ -87,8 +87,8 @@ KCommand* SymbolSequenceElement::buildCommand( Container* container, Request* re
}
-SymbolElement::SymbolElement(SymbolType type, BasicElement* tqparent)
- : BasicElement(tqparent), symbol( 0 ), symbolType( type )
+SymbolElement::SymbolElement(SymbolType type, BasicElement* parent)
+ : BasicElement(parent), symbol( 0 ), symbolType( type )
{
content = new SymbolSequenceElement( this );
upper = 0;
@@ -300,7 +300,7 @@ void SymbolElement::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 SymbolElement::draw( TQPainter& painter, const LuPixelRect& r,
@@ -586,9 +586,9 @@ void SymbolElement::remove(FormulaCursor* cursor,
setToLower(cursor);
break;
case contentPos: {
- BasicElement* tqparent = getParent();
- tqparent->selectChild(cursor, this);
- tqparent->remove(cursor, removedChildren, direction);
+ BasicElement* parent = getParent();
+ parent->selectChild(cursor, this);
+ parent->remove(cursor, removedChildren, direction);
break;
}
}
@@ -852,7 +852,7 @@ TQString SymbolElement::formulaString()
return sym + ")";
}
-void SymbolElement::writeMathML( TQDomDocument& doc, TQDomNode& tqparent, bool oasisFormat ) const
+void SymbolElement::writeMathML( TQDomDocument& doc, TQDomNode& parent, bool oasisFormat ) const
{
TQDomElement de = doc.createElement( oasisFormat ? "math:mrow" : "mrow" );
TQDomElement mo = doc.createElement( oasisFormat ? "math:mo" : "mo" );
@@ -900,7 +900,7 @@ void SymbolElement::writeMathML( TQDomDocument& doc, TQDomNode& tqparent, bool o
de.appendChild( between );
content->writeMathML( doc, de, oasisFormat );
- tqparent.appendChild( de );
+ parent.appendChild( de );
}
KFORMULA_NAMESPACE_END