diff options
Diffstat (limited to 'lib/kformula/styleelement.h')
-rw-r--r-- | lib/kformula/styleelement.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kformula/styleelement.h b/lib/kformula/styleelement.h index b497a241..7751a19a 100644 --- a/lib/kformula/styleelement.h +++ b/lib/kformula/styleelement.h @@ -29,11 +29,11 @@ class StyleElement : public TokenStyleElement { typedef TokenStyleElement inherited; public: - StyleElement( BasicElement* parent = 0 ); + StyleElement( BasicElement* tqparent = 0 ); protected: - virtual bool readAttributesFromMathMLDom( const QDomElement &element ); + virtual bool readAttributesFromMathMLDom( const TQDomElement &element ); virtual void setStyleSize( const ContextStyle& context, StyleAttributes& style ); virtual void setStyleVariant( StyleAttributes& style ); @@ -41,11 +41,11 @@ protected: virtual void resetStyle( StyleAttributes& style ); private: - virtual QString getElementName() const { return "mstyle"; } - virtual void writeMathMLAttributes( QDomElement& element ) const ; + virtual TQString getElementName() const { return "mstyle"; } + virtual void writeMathMLAttributes( TQDomElement& element ) const ; - void readSizeAttribute( const QString& str, SizeType* st, double* s ); - void writeSizeAttribute( QDomElement element, const QString& str, SizeType st, double s ) const ; + void readSizeAttribute( const TQString& str, SizeType* st, double* s ); + void writeSizeAttribute( TQDomElement element, const TQString& str, SizeType st, double s ) const ; double sizeFactor( const ContextStyle& context, SizeType st, double length, double defvalue ); @@ -53,7 +53,7 @@ private: SizeType m_scriptMinSizeType; double m_scriptSizeMultiplier; double m_scriptMinSize; - QColor m_background; + TQColor m_background; SizeType m_veryVeryThinMathSpaceType; double m_veryVeryThinMathSpace; SizeType m_veryThinMathSpaceType; |