summaryrefslogtreecommitdiffstats
path: root/lib/kformula/bracketelement.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /lib/kformula/bracketelement.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/bracketelement.cc')
-rw-r--r--lib/kformula/bracketelement.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kformula/bracketelement.cc b/lib/kformula/bracketelement.cc
index df51ffa8..a3714e60 100644
--- a/lib/kformula/bracketelement.cc
+++ b/lib/kformula/bracketelement.cc
@@ -281,7 +281,7 @@ BasicElement* BracketElement::goToPos( FormulaCursor* cursor, bool& handled,
/**
* Calculates our width and height and
- * our tqchildren's parentPosition.
+ * our children's parentPosition.
*/
void BracketElement::calcSizes( const ContextStyle& context,
ContextStyle::TextStyle tstyle,
@@ -360,7 +360,7 @@ void BracketElement::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.
*/
@@ -707,7 +707,7 @@ int BracketElement::operatorType( TQDomNode& node, bool open )
TQString s = e.text();
if ( s.isNull() )
return -1;
- *type = static_cast<SymbolType>( TQString::number( s.tqat( 0 ).latin1() ).toInt() );
+ *type = static_cast<SymbolType>( TQString::number( s.at( 0 ).latin1() ).toInt() );
}
}
else {