summaryrefslogtreecommitdiffstats
path: root/khtml/rendering/render_block.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_block.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_block.h')
-rw-r--r--khtml/rendering/render_block.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/khtml/rendering/render_block.h b/khtml/rendering/render_block.h
index 2b0e49398..df8d16fe0 100644
--- a/khtml/rendering/render_block.h
+++ b/khtml/rendering/render_block.h
@@ -98,21 +98,21 @@ public:
virtual void attach();
void updateFirstLetter();
- virtual void layout();
- void layoutBlock( bool relayoutChildren );
- void layoutBlockChildren( bool relayoutChildren );
- void layoutInlineChildren( bool relayoutChildren, int breakBeforeLine = 0);
+ virtual void tqlayout();
+ void tqlayoutBlock( bool retqlayoutChildren );
+ void tqlayoutBlockChildren( bool retqlayoutChildren );
+ void tqlayoutInlineChildren( bool retqlayoutChildren, int breakBeforeLine = 0);
- void layoutPositionedObjects( bool relayoutChildren );
+ void tqlayoutPositionedObjects( bool retqlayoutChildren );
void insertPositionedObject(RenderObject *o);
void removePositionedObject(RenderObject *o);
// Called to lay out the legend for a fieldset.
- virtual RenderObject* layoutLegend(bool /*relayoutChildren*/) { return 0; };
+ virtual RenderObject* tqlayoutLegend(bool /*retqlayoutChildren*/) { return 0; };
// the implementation of the following functions is in bidi.cpp
void bidiReorderLine(const BidiIterator &start, const BidiIterator &end, BidiState &bidi );
- BidiIterator findNextLineBreak(BidiIterator &start, BidiState &info );
+ BidiIterator tqfindNextLineBreak(BidiIterator &start, BidiState &info );
InlineFlowBox* constructLine(const BidiIterator& start, const BidiIterator& end);
InlineFlowBox* createLineBoxes(RenderObject* obj);
void computeHorizontalPositionsForLine(InlineFlowBox* lineBox, BidiState &bidi);
@@ -136,11 +136,11 @@ public:
int getClearDelta(RenderObject *child);
virtual void markAllDescendantsWithFloatsForLayout(RenderObject* floatToRemove = 0);
- // FIXME: containsFloats() should not return true if the floating objects list
- // is empty. However, layoutInlineChildren() relies on the current behavior.
+ // FIXME: tqcontainsFloats() should not return true if the floating objects list
+ // is empty. However, tqlayoutInlineChildren() relies on the current behavior.
// http://bugzilla.opendarwin.org/show_bug.cgi?id=7395#c3
virtual bool hasFloats() const { return m_floatingObjects!=0; }
- virtual bool containsFloat(RenderObject* o) const;
+ virtual bool tqcontainsFloat(RenderObject* o) const;
virtual bool hasOverhangingFloats() const { return floatBottom() > m_height; }
void addOverHangingFloats( RenderBlock *block, int xoffset, int yoffset, bool child );
@@ -222,7 +222,7 @@ protected:
bool crossedLayer : 1; // lock noPaint flag
};
- // The following helper functions and structs are used by layoutBlockChildren.
+ // The following helper functions and structs are used by tqlayoutBlockChildren.
class CompactInfo {
// A compact child that needs to be collapsed into the margin of the following block.
RenderObject* m_compact;
@@ -342,7 +342,7 @@ protected:
void handleBottomOfBlock(int top, int bottom, MarginInfo& marginInfo);
void setCollapsedBottomMargin(const MarginInfo& marginInfo);
void clearChildOfPageBreaks(RenderObject* child, PageBreakInfo &pageBreakInfo, MarginInfo &marginInfo);
- // End helper functions and structs used by layoutBlockChildren.
+ // End helper functions and structs used by tqlayoutBlockChildren.
protected:
// How much content overflows out of our block vertically or horizontally (all we support
@@ -359,8 +359,8 @@ private:
TQPtrList<RenderObject>* m_positionedObjects;
bool m_childrenInline : 1;
- bool m_firstLine : 1; // used in inline layouting
- EClear m_clearStatus : 2; // used during layuting of paragraphs
+ bool m_firstLine : 1; // used in inline tqlayouting
+ EClear m_cleartqStatus : 2; // used during layuting of paragraphs
bool m_avoidPageBreak : 1; // anonymous avoid page-break block
bool m_topMarginQuirk : 1;
bool m_bottomMarginQuirk : 1;