diff options
Diffstat (limited to 'src/kitemviews/kitemlistviewlayouter_p.h')
| -rw-r--r-- | src/kitemviews/kitemlistviewlayouter_p.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/kitemviews/kitemlistviewlayouter_p.h b/src/kitemviews/kitemlistviewlayouter_p.h index c81995d9b..255db9188 100644 --- a/src/kitemviews/kitemlistviewlayouter_p.h +++ b/src/kitemviews/kitemlistviewlayouter_p.h @@ -95,15 +95,12 @@ public: private: void doLayout(); - void updateVisibleIndexes(); - void updateGroupedVisibleIndexes(); - void createGroupHeaders(); + bool createGroupHeaders(); private: bool m_dirty; bool m_visibleIndexesDirty; - bool m_grouped; Qt::Orientation m_scrollOrientation; QSizeF m_size; @@ -122,17 +119,11 @@ private: int m_firstVisibleIndex; int m_lastVisibleIndex; - int m_firstVisibleGroupIndex; - qreal m_columnWidth; qreal m_xPosInc; int m_columnCount; - struct ItemGroup { - int firstItemIndex; - qreal y; - }; - QList<ItemGroup> m_groups; + QList<int> m_groups; // Stores all item indexes that are the first item of a group. // Assures fast access for KItemListViewLayouter::isFirstGroupItem(). |
