summaryrefslogtreecommitdiffstats
path: root/kformula
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:41 -0600
commit2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch)
tree88e6436b2e81d4e68313f02a9021054252e14cc4 /kformula
parentf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff)
downloadkoffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz
koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kformula')
-rw-r--r--kformula/fsparser.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/kformula/fsparser.cc b/kformula/fsparser.cc
index 77a11819..863cc9eb 100644
--- a/kformula/fsparser.cc
+++ b/kformula/fsparser.cc
@@ -50,20 +50,20 @@ public:
//virtual void output( ostream& stream ) { stream << "PrimaryNode {" << m_primary << "}" << endl; }
virtual void buildXML( TQDomDocument& doc, TQDomElement element );
virtual bool isSimple() { return true; }
- void setUnicode( TQChar tqunicode ) { m_tqunicode = tqunicode; }
+ void setUnicode( TQChar unicode ) { m_unicode = unicode; }
void setFunctionName( bool functionName ) { m_functionName = functionName; }
TQString primary() const { return m_primary; }
private:
TQString m_primary;
- TQChar m_tqunicode;
+ TQChar m_unicode;
bool m_functionName;
};
void PrimaryNode::buildXML( TQDomDocument& doc, TQDomElement element )
{
- if ( m_tqunicode != TQChar::null ) {
+ if ( m_unicode != TQChar::null ) {
TQDomElement de = doc.createElement( "TEXT" );
- de.setAttribute( "CHAR", TQString( m_tqunicode ) );
+ de.setAttribute( "CHAR", TQString( m_unicode ) );
de.setAttribute( "SYMBOL", "3" );
element.appendChild( de );
}
@@ -543,7 +543,7 @@ ParserNode* FormulaStringParser::parsePrimary()
}
case NAME: {
PrimaryNode* node = new PrimaryNode( current );
- node->setUnicode( m_symbolTable.tqunicode( current ) );
+ node->setUnicode( m_symbolTable.unicode( current ) );
nextToken();
if ( currentType == LP ) {
nextToken();