┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-12-16 23:37:49 +0100
committerPeter Penz <[email protected]>2011-12-16 23:39:57 +0100
commitd0ba75d13e6887e43febfaf9d613db70f6297cd3 (patch)
tree173199c7566603151a7cd9c70471d5de59ecf752 /src/kitemviews/kitemlistview.h
parentea2ed61cd12eec48b66811df0e43dd40e546374a (diff)
Minor layout and coding style cleanups
- Disable performance debugging output - Force a synchronous layout during scrolling. This prevents having a jerky scroll-animation if there are pending operations ongoing in parallel. - Minor coding style cleanups
Diffstat (limited to 'src/kitemviews/kitemlistview.h')
-rw-r--r--src/kitemviews/kitemlistview.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kitemviews/kitemlistview.h b/src/kitemviews/kitemlistview.h
index 299e8f60b..90f753087 100644
--- a/src/kitemviews/kitemlistview.h
+++ b/src/kitemviews/kitemlistview.h
@@ -354,8 +354,8 @@ private:
KItemListRubberBand* rubberBand() const;
- void doLayout(LayoutAnimationHint hint, int changedIndex, int changedCount);
- void doGroupHeadersLayout(LayoutAnimationHint hint, int changedIndex, int changedCount);
+ void doLayout(LayoutAnimationHint hint, int changedIndex = 0, int changedCount = 0);
+
void emitOffsetChanges();
KItemListWidget* createWidget(int index);