summaryrefslogtreecommitdiffstats
path: root/lib/kformula/actionelement.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/actionelement.cc')
-rw-r--r--lib/kformula/actionelement.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kformula/actionelement.cc b/lib/kformula/actionelement.cc
index fdee73a5..5fa5a38e 100644
--- a/lib/kformula/actionelement.cc
+++ b/lib/kformula/actionelement.cc
@@ -22,19 +22,19 @@
KFORMULA_NAMESPACE_BEGIN
-ActionElement::ActionElement( BasicElement* parent ) : SequenceElement( parent ),
+ActionElement::ActionElement( BasicElement* tqparent ) : SequenceElement( tqparent ),
m_selection( 0 )
{
}
-bool ActionElement::readAttributesFromMathMLDom(const QDomElement& element)
+bool ActionElement::readAttributesFromMathMLDom(const TQDomElement& element)
{
if ( ! BasicElement::readAttributesFromMathMLDom( element ) ) {
return false;
}
m_actionType = element.attribute( "actiontype" );
- QString selectionStr = element.attribute( "selection" );
+ TQString selectionStr = element.attribute( "selection" );
if ( ! selectionStr.isNull() ) {
bool ok;
m_selection = selectionStr.toUInt( &ok );
@@ -44,12 +44,12 @@ bool ActionElement::readAttributesFromMathMLDom(const QDomElement& element)
return true;
}
-int ActionElement::buildChildrenFromMathMLDom(QPtrList<BasicElement>& list, QDomNode n)
+int ActionElement::buildChildrenFromMathMLDom(TQPtrList<BasicElement>& list, TQDomNode n)
{
if ( ! n.isElement() )
return -1;
- QDomElement e = n.toElement();
- QString tag = e.tagName().lower();
+ TQDomElement e = n.toElement();
+ TQString tag = e.tagName().lower();
BasicElement* child = getCreationStrategy()->createElement( tag, e );
if ( child == 0 )
return -1;
@@ -63,13 +63,13 @@ int ActionElement::buildChildrenFromMathMLDom(QPtrList<BasicElement>& list, QDom
return 1;
}
-void ActionElement::writeMathMLAttributes( QDomElement& element ) const
+void ActionElement::writeMathMLAttributes( TQDomElement& element ) const
{
if ( ! m_actionType.isNull() ) {
element.setAttribute( "actiontype", m_actionType );
}
if ( m_selection ) {
- element.setAttribute( "selection", QString( "%1" ).arg( m_selection ) );
+ element.setAttribute( "selection", TQString( "%1" ).tqarg( m_selection ) );
}
}