diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kformula/stringelement.cc | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kformula/stringelement.cc')
-rw-r--r-- | lib/kformula/stringelement.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kformula/stringelement.cc b/lib/kformula/stringelement.cc index 8e7b54c4..2f13ad77 100644 --- a/lib/kformula/stringelement.cc +++ b/lib/kformula/stringelement.cc @@ -22,11 +22,11 @@ KFORMULA_NAMESPACE_BEGIN -StringElement::StringElement( BasicElement* parent ) : TokenElement( parent ) +StringElement::StringElement( BasicElement* tqparent ) : TokenElement( tqparent ) { } -bool StringElement::readAttributesFromMathMLDom(const QDomElement& element) +bool StringElement::readAttributesFromMathMLDom(const TQDomElement& element) { if ( ! BasicElement::readAttributesFromMathMLDom( element ) ) { return false; @@ -48,7 +48,7 @@ bool StringElement::readAttributesFromMathMLDom(const QDomElement& element) return true; } -int StringElement::buildChildrenFromMathMLDom(QPtrList<BasicElement>& list, QDomNode n) +int StringElement::buildChildrenFromMathMLDom(TQPtrList<BasicElement>& list, TQDomNode n) { int count = inherited::buildChildrenFromMathMLDom( list, n ); if ( count == -1 ) @@ -66,7 +66,7 @@ int StringElement::buildChildrenFromMathMLDom(QPtrList<BasicElement>& list, QDom return count; } -void StringElement::writeMathMLAttributes( QDomElement& element ) const +void StringElement::writeMathMLAttributes( TQDomElement& element ) const { inherited::writeMathMLAttributes( element ); if ( m_customLquote ) { @@ -77,7 +77,7 @@ void StringElement::writeMathMLAttributes( QDomElement& element ) const } } -void StringElement::writeMathMLContent( QDomDocument& doc, QDomElement& element, bool oasisFormat ) const +void StringElement::writeMathMLContent( TQDomDocument& doc, TQDomElement& element, bool oasisFormat ) const { for ( uint i = 1; i < countChildren() - 1; ++i ) { const BasicElement* e = getChild( i ); |