summaryrefslogtreecommitdiffstats
path: root/lib/kformula/oasiscreationstrategy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/oasiscreationstrategy.cc')
-rw-r--r--lib/kformula/oasiscreationstrategy.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kformula/oasiscreationstrategy.cc b/lib/kformula/oasiscreationstrategy.cc
index 637bd695..9f7949cb 100644
--- a/lib/kformula/oasiscreationstrategy.cc
+++ b/lib/kformula/oasiscreationstrategy.cc
@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
-#include <qdom.h>
+#include <tqdom.h>
#include "bracketelement.h"
#include "elementtype.h"
@@ -45,7 +45,7 @@
KFORMULA_NAMESPACE_BEGIN
-BasicElement* OasisCreationStrategy::createElement( QString type, const QDomElement& element )
+BasicElement* OasisCreationStrategy::createElement( TQString type, const TQDomElement& element )
{
// TODO
@@ -95,7 +95,7 @@ BasicElement* OasisCreationStrategy::createElement( QString type, const QDomElem
}
-TextElement* OasisCreationStrategy::createTextElement( const QChar& ch, bool symbol )
+TextElement* OasisCreationStrategy::createTextElement( const TQChar& ch, bool symbol )
{
return new TextElement( ch, symbol );
}
@@ -160,13 +160,13 @@ IndexElement* OasisCreationStrategy::createIndexElement()
return new IndexElement;
}
-BasicElement* OasisCreationStrategy::createOperatorElement( const QDomElement& element )
+BasicElement* OasisCreationStrategy::createOperatorElement( const TQDomElement& element )
{
- QDomNode n = element.firstChild();
+ TQDomNode n = element.firstChild();
if ( n.isNull() )
return 0;
if ( n.isEntityReference() ) {
- QString name = n.nodeName();
+ TQString name = n.nodeName();
if ( name == "CloseCurlyDoubleQuote"
|| name == "CloseCurlyQuote"
|| name == "LeftAngleBracket"
@@ -184,8 +184,8 @@ BasicElement* OasisCreationStrategy::createOperatorElement( const QDomElement& e
return new OperatorElement();
}
if ( n.isText() ) {
- QString text = n.toText().data();
- if ( text.length() == 1 && QString("()[]{}").contains(text[0]) ) {
+ TQString text = n.toText().data();
+ if ( text.length() == 1 && TQString("()[]{}").tqcontains(text[0]) ) {
return new BracketElement();
}
}