From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: 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 --- khtml/rendering/render_block.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'khtml/rendering/render_block.h') 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* 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; -- cgit v1.2.1