diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /khtml/rendering/render_style.cpp | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-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_style.cpp')
-rw-r--r-- | khtml/rendering/render_style.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/khtml/rendering/render_style.cpp b/khtml/rendering/render_style.cpp index a71dd4116..22052b6be 100644 --- a/khtml/rendering/render_style.cpp +++ b/khtml/rendering/render_style.cpp @@ -723,16 +723,16 @@ bool RenderStyle::inheritedNotEqual( RenderStyle *other ) const compares two styles. The result gives an idea of the action that needs to be taken when replacing the old style with a new one. - CbLayout: The containing block of the object needs a relayout. - Layout: the RenderObject needs a relayout after the style change - Visible: The change is visible, but no relayout is needed - NonVisible: The object does need neither repaint nor relayout after + CbLayout: The containing block of the object needs a retqlayout. + Layout: the RenderObject needs a retqlayout after the style change + Visible: The change is visible, but no retqlayout is needed + NonVisible: The object does need neither tqrepaint nor retqlayout after the change. ### TODO: A lot can be optimised here based on the display type, lots of optimisations are unimplemented, and currently result in the - worst case result causing a relayout of the containing block. + worst case result causing a retqlayout of the containing block. */ RenderStyle::Diff RenderStyle::diff( const RenderStyle *other ) const { @@ -743,8 +743,8 @@ RenderStyle::Diff RenderStyle::diff( const RenderStyle *other ) const // ECursor _cursor_style : 4; // EUserInput _user_input : 2; as long as :enabled is not impl'd -// ### this needs work to know more exactly if we need a relayout -// or just a repaint +// ### this needs work to know more exactly if we need a retqlayout +// or just a tqrepaint // non-inherited attributes // DataRef<StyleBoxData> box; @@ -775,18 +775,18 @@ RenderStyle::Diff RenderStyle::diff( const RenderStyle *other ) const // _border_collapse // EEmptyCell _empty_cells : 2 ; // ECaptionSide _caption_side : 2; -// ETableLayout _table_layout : 1; +// ETableLayout _table_tqlayout : 1; // EPosition _position : 2; // EFloat _floating : 2; if ( ((int)noninherited_flags.f._display) >= TABLE ) { if ( !(inherited_flags.f._empty_cells == other->inherited_flags.f._empty_cells) || !(inherited_flags.f._caption_side == other->inherited_flags.f._caption_side) || !(inherited_flags.f._border_collapse == other->inherited_flags.f._border_collapse) || - !(noninherited_flags.f._table_layout == other->noninherited_flags.f._table_layout) || + !(noninherited_flags.f._table_tqlayout == other->noninherited_flags.f._table_tqlayout) || !(noninherited_flags.f._position == other->noninherited_flags.f._position) || !(noninherited_flags.f._floating == other->noninherited_flags.f._floating) || !(noninherited_flags.f._flowAroundFloats == other->noninherited_flags.f._flowAroundFloats) || - !(noninherited_flags.f._unicodeBidi == other->noninherited_flags.f._unicodeBidi) ) + !(noninherited_flags.f._tqunicodeBidi == other->noninherited_flags.f._tqunicodeBidi) ) return CbLayout; } @@ -813,7 +813,7 @@ RenderStyle::Diff RenderStyle::diff( const RenderStyle *other ) const ) return Layout; - // Overflow returns a layout hint. + // Overflow returns a tqlayout hint. if (noninherited_flags.f._overflowX != other->noninherited_flags.f._overflowX || noninherited_flags.f._overflowY != other->noninherited_flags.f._overflowY) return Layout; |