summaryrefslogtreecommitdiffstats
path: root/lib/kformula/formulaelement.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/formulaelement.h')
-rw-r--r--lib/kformula/formulaelement.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/lib/kformula/formulaelement.h b/lib/kformula/formulaelement.h
index fda89d79..831456a7 100644
--- a/lib/kformula/formulaelement.h
+++ b/lib/kformula/formulaelement.h
@@ -34,8 +34,8 @@ class SymbolTable;
/**
* The main element.
- * A formula consists of a FormulaElement and its children.
- * The only element that has no parent.
+ * A formula consists of a FormulaElement and its tqchildren.
+ * The only element that has no tqparent.
*/
class FormulaElement : public SequenceElement {
typedef SequenceElement inherited;
@@ -101,7 +101,7 @@ public:
/**
* Tell the user something has happened.
*/
- void tell( const QString& msg );
+ void tell( const TQString& msg );
/**
* Gets called when the formula wants to vanish. The one who
@@ -113,7 +113,7 @@ public:
/**
* Calculates our width and height and
- * our children's parentPosition.
+ * our tqchildren's tqparentPosition.
*/
virtual void calcSizes( const ContextStyle& context,
ContextStyle::TextStyle tstyle,
@@ -121,16 +121,16 @@ public:
StyleAttributes& style );
/**
- * Draws the whole element including its children.
- * The `parentOrigin' is the point this element's parent starts.
- * We can use our parentPosition to get our own origin then.
+ * Draws the whole element including its tqchildren.
+ * The `tqparentOrigin' is the point this element's tqparent starts.
+ * We can use our tqparentPosition to get our own origin then.
*/
- virtual void draw( QPainter& painter, const LuPixelRect& r,
+ virtual void draw( TQPainter& painter, const LuPixelRect& r,
const ContextStyle& context,
ContextStyle::TextStyle tstyle,
ContextStyle::IndexStyle istyle,
StyleAttributes& style,
- const LuPixelPoint& parentOrigin );
+ const LuPixelPoint& tqparentOrigin );
/**
* Calculates the formulas sizes and positions.
@@ -140,7 +140,7 @@ public:
/**
* Draws the whole thing.
*/
- void draw( QPainter& painter, const LuPixelRect& r, ContextStyle& context );
+ void draw( TQPainter& painter, const LuPixelRect& r, ContextStyle& context );
/**
* This is called by the container to get a command depending on
@@ -159,28 +159,28 @@ public:
/**
* @returns the latex representation of the element and
- * of the element's children
+ * of the element's tqchildren
*/
- virtual QString toLatex();
+ virtual TQString toLatex();
int getBaseSize() const { return baseSize; }
void setBaseSize( int size );
bool hasOwnBaseSize() const { return ownBaseSize; }
- virtual KCommand* input( Container* container, QKeyEvent* event );
+ virtual KCommand* input( Container* container, TQKeyEvent* event );
- virtual void writeMathML( QDomDocument& doc, QDomNode& parent, bool oasisFormat = false ) const ;
+ virtual void writeMathML( TQDomDocument& doc, TQDomNode& tqparent, bool oasisFormat = false ) const ;
/**
* Appends our attributes to the dom element.
*/
- virtual void writeDom(QDomElement element);
+ virtual void writeDom(TQDomElement element);
/**
* For copy&paste we need to create an empty XML element.
*/
- QDomElement emptyFormulaElement( QDomDocument& doc );
+ TQDomElement emptyFormulaElement( TQDomDocument& doc );
protected:
@@ -189,20 +189,20 @@ protected:
/**
* Returns the tag name of this element type.
*/
- virtual QString getTagName() const { return "FORMULA"; }
+ virtual TQString getTagName() const { return "FORMULA"; }
/**
* Reads our attributes from the element.
* Returns false if it failed.
*/
- virtual bool readAttributesFromDom(QDomElement element);
+ virtual bool readAttributesFromDom(TQDomElement element);
/**
* Reads our content from the node. Sets the node to the next node
* that needs to be read.
* Returns false if it failed.
*/
- virtual bool readContentFromDom(QDomNode& node);
+ virtual bool readContentFromDom(TQDomNode& node);
private:
@@ -211,7 +211,7 @@ private:
* The introduction of 'NameSequence' changed the DOM.
* However, we need to read the old version.
*/
- void convertNames( QDomNode node );
+ void convertNames( TQDomNode node );
/**
* The document that owns (is) this formula.