Changeset View
Changeset View
Standalone View
Standalone View
src/kitemviews/kitemlistcontainer.h
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 60 | protected: | |||
---|---|---|---|---|---|
63 | void resizeEvent(QResizeEvent* event) override; | 63 | void resizeEvent(QResizeEvent* event) override; | ||
64 | void scrollContentsBy(int dx, int dy) override; | 64 | void scrollContentsBy(int dx, int dy) override; | ||
65 | void wheelEvent(QWheelEvent* event) override; | 65 | void wheelEvent(QWheelEvent* event) override; | ||
66 | 66 | | |||
67 | private slots: | 67 | private slots: | ||
68 | void slotScrollOrientationChanged(Qt::Orientation current, Qt::Orientation previous); | 68 | void slotScrollOrientationChanged(Qt::Orientation current, Qt::Orientation previous); | ||
69 | void slotModelChanged(KItemModelBase* current, KItemModelBase* previous); | 69 | void slotModelChanged(KItemModelBase* current, KItemModelBase* previous); | ||
70 | void slotViewChanged(KItemListView* current, KItemListView* previous); | 70 | void slotViewChanged(KItemListView* current, KItemListView* previous); | ||
71 | void slotSetTouchScroll(bool enabled); | ||||
71 | void scrollTo(qreal offset); | 72 | void scrollTo(qreal offset); | ||
72 | void updateScrollOffsetScrollBar(); | 73 | void updateScrollOffsetScrollBar(); | ||
73 | void updateItemOffsetScrollBar(); | 74 | void updateItemOffsetScrollBar(); | ||
74 | 75 | | |||
75 | private: | 76 | private: | ||
76 | void updateGeometries(); | 77 | void updateGeometries(); | ||
77 | void updateSmoothScrollers(Qt::Orientation orientation); | 78 | void updateSmoothScrollers(Qt::Orientation orientation); | ||
78 | 79 | | |||
Show All 17 Lines |