summaryrefslogtreecommitdiffstats
path: root/khtml/rendering/render_object.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /khtml/rendering/render_object.h
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/rendering/render_object.h')
-rw-r--r--khtml/rendering/render_object.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/khtml/rendering/render_object.h b/khtml/rendering/render_object.h
index f7f772387..a80121820 100644
--- a/khtml/rendering/render_object.h
+++ b/khtml/rendering/render_object.h
@@ -61,7 +61,7 @@ class KHTMLView;
* a recursive descent into the layer's render objects. The first phase is the background phase.
* The backgrounds and borders of all blocks are painted. Inlines are not painted at all.
* Floats must paint above block backgrounds but entirely below inline content that can overlap them.
- * In the foreground phase, all inlines are fully painted. Inline replaced elements will get all
+ * In the foreground phase, all inlines are fully painted. Inline tqreplaced elements will get all
* three phases invoked on them during this phase.
*/
@@ -161,7 +161,7 @@ public:
void addLayers(RenderLayer* parentLayer, RenderObject* newObject);
void removeLayers(RenderLayer* parentLayer);
void moveLayers(RenderLayer* oldParent, RenderLayer* newParent);
- RenderLayer* findNextLayer(RenderLayer* parentLayer, RenderObject* startPoint,
+ RenderLayer* tqfindNextLayer(RenderLayer* parentLayer, RenderObject* startPoint,
bool checkParent=true);
virtual void positionChildLayers() { }
virtual bool requiresLayer() const {
@@ -297,7 +297,7 @@ public:
bool isCompact() const { return style()->display() == COMPACT; } // compact
bool isRunIn() const { return style()->display() == RUN_IN; } // run-in object
bool mouseInside() const;
- bool isReplaced() const { return m_replaced; }
+ bool isReplaced() const { return m_tqreplaced; }
bool isReplacedBlock() const { return isInline() && isReplaced() && isRenderBlock(); }
bool shouldPaintBackgroundOrBorder() const { return m_paintBackground; }
bool needsLayout() const { return m_needsLayout || m_normalChildNeedsLayout || m_posChildNeedsLayout; }
@@ -327,7 +327,7 @@ public:
void setOverhangingContents(bool p=true);
void markContainingBlocksForLayout();
void dirtyFormattingContext( bool checkContainer );
- void repaintDuringLayout();
+ void tqrepaintDuringLayout();
void setNeedsLayout(bool b, bool markParents = true);
void setChildNeedsLayout(bool b, bool markParents = true);
void setMinMaxKnown(bool b=true) {
@@ -353,11 +353,11 @@ public:
void setMouseInside(bool b=true) { m_mouseInside = b; }
void setShouldPaintBackgroundOrBorder(bool b=true) { m_paintBackground = b; }
void setRenderText() { m_isText = true; }
- void setReplaced(bool b=true) { m_replaced = b; }
+ void setReplaced(bool b=true) { m_tqreplaced = b; }
void setHasOverflowClip(bool b = true) { m_hasOverflowClip = b; }
void setIsSelectionBorder(bool b=true) { m_isSelectionBorder = b; }
- void scheduleRelayout(RenderObject *clippedObj = 0);
+ void scheduleRetqlayout(RenderObject *clippedObj = 0);
void updateBackgroundImages(RenderStyle* oldStyle);
@@ -402,7 +402,7 @@ public:
*
* when a element has a fixed size, m_minWidth and m_maxWidth should be
* set to the same value. This has the special meaning that m_width,
- * contains the actual value.
+ * tqcontains the actual value.
*
* assumes calcMinMaxWidth has already been called for all children.
*/
@@ -427,21 +427,21 @@ public:
/*
* This function should cause the Element to calculate its
- * width and height and the layout of its content
+ * width and height and the tqlayout of its content
*
- * when the Element calls setNeedsLayout(false), layout() is no
- * longer called during relayouts, as long as there is no
+ * when the Element calls setNeedsLayout(false), tqlayout() is no
+ * longer called during retqlayouts, as long as there is no
* style sheet change. When that occurs, m_needsLayout will be
- * set to true and the Element receives layout() calls
+ * set to true and the Element receives tqlayout() calls
* again.
*/
- virtual void layout() = 0;
+ virtual void tqlayout() = 0;
- /* This function performs a layout only if one is needed. */
- void layoutIfNeeded() { if (needsLayout()) layout(); }
+ /* This function performs a tqlayout only if one is needed. */
+ void tqlayoutIfNeeded() { if (needsLayout()) tqlayout(); }
// used for element state updates that can not be fixed with a
- // repaint and do not need a relayout
+ // tqrepaint and do not need a retqlayout
virtual void updateFromElement() {}
// Called immediately after render-object is inserted
@@ -464,11 +464,11 @@ public:
virtual bool needsPageClear() const { return m_needsPageClear; }
/*
- * ContainsPageBreak indicates the object contains a clean page-break.
- * ### should be removed and replaced with (crossesPageBreak && !needsPageClear)
+ * ContainsPageBreak indicates the object tqcontains a clean page-break.
+ * ### should be removed and tqreplaced with (crossesPageBreak && !needsPageClear)
*/
- void setContainsPageBreak(bool b = true) { m_containsPageBreak = b; }
- virtual bool containsPageBreak() const { return m_containsPageBreak; }
+ void setContainsPageBreak(bool b = true) { m_tqcontainsPageBreak = b; }
+ virtual bool tqcontainsPageBreak() const { return m_tqcontainsPageBreak; }
virtual int pageTopAfter(int y) const { if (parent()) return parent()->pageTopAfter(y); else return 0; }
@@ -485,7 +485,7 @@ public:
virtual bool afterPageBreak() const { return m_afterPageBreak; }
virtual bool beforePageBreak() const { return m_beforePageBreak; }
- // does a query on the rendertree and finds the innernode
+ // does a query on the rendertree and tqfinds the innernode
// and overURL for the given position
// if readonly == false, it will recalc hover styles accordingly
class NodeInfo
@@ -522,7 +522,7 @@ public:
bool m_active;
};
- /** contains stateful information for a checkSelectionPoint call
+ /** tqcontains stateful information for a checkSelectionPoint call
*/
struct SelPointState {
/** last node that was before the current position */
@@ -557,7 +557,7 @@ public:
virtual short contentWidth() const { return 0; }
virtual int contentHeight() const { return 0; }
- // intrinsic extend of replaced elements. undefined otherwise
+ // intrinsic extend of tqreplaced elements. undefined otherwise
virtual short intrinsicWidth() const { return 0; }
virtual int intrinsicHeight() const { return 0; }
@@ -681,9 +681,9 @@ public:
// Used by collapsed border tables.
virtual void collectBorders(TQValueList<CollapsedBorderValue>& borderStyles);
- // force a complete repaint
- virtual void repaint(Priority p = NormalPriority) { if(m_parent) m_parent->repaint(p); }
- virtual void repaintRectangle(int x, int y, int w, int h, Priority p=NormalPriority, bool f=false);
+ // force a complete tqrepaint
+ virtual void tqrepaint(Priority p = NormalPriority) { if(m_parent) m_parent->tqrepaint(p); }
+ virtual void tqrepaintRectangle(int x, int y, int w, int h, Priority p=NormalPriority, bool f=false);
virtual unsigned int length() const { return 1; }
@@ -693,7 +693,7 @@ public:
bool isFloatingOrPositioned() const { return (isFloating() || isPositioned()); };
virtual bool hasOverhangingFloats() const { return false; }
virtual bool hasFloats() const { return false; }
- virtual bool containsFloat(RenderObject* /*o*/) const { return false; }
+ virtual bool tqcontainsFloat(RenderObject* /*o*/) const { return false; }
virtual void markAllDescendantsWithFloatsForLayout(RenderObject* /*floatToRemove*/ = 0) {}
bool flowAroundFloats() const;
@@ -747,8 +747,8 @@ public:
virtual int leftmostPosition(bool /*includeOverflowInterior*/=true, bool /*includeSelf*/=true) const { return 0; }
virtual int highestPosition(bool /*includeOverflowInterior*/=true, bool /*includeSelf*/=true) const { return 0; }
- // recursively invalidate current layout
- // unused: void invalidateLayout();
+ // recursively tqinvalidate current tqlayout
+ // unused: void tqinvalidateLayout();
virtual void calcVerticalMargins() {}
void removeFromObjectLists();
@@ -790,7 +790,7 @@ protected:
virtual TQRect viewRect() const;
void remove();
- void invalidateVerticalPositions();
+ void tqinvalidateVerticalPositions();
bool attemptDirectLayerTranslation();
void updateWidgetMasks();
@@ -827,7 +827,7 @@ private:
bool m_inline : 1;
bool m_attached : 1;
- bool m_replaced : 1;
+ bool m_tqreplaced : 1;
bool m_mouseInside : 1;
bool m_hasFirstLine : 1;
bool m_isSelectionBorder : 1;
@@ -838,7 +838,7 @@ private:
bool m_afterPageBreak : 1;
bool m_needsPageClear : 1;
- bool m_containsPageBreak : 1;
+ bool m_tqcontainsPageBreak : 1;
bool m_hasOverflowClip : 1;