┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-03-20 13:22:12 +0100
committerPeter Penz <[email protected]>2012-03-20 17:23:27 +0100
commit0dcb51b927f70afa6cba0b9185abb1f323052696 (patch)
tree55aaa4e94cf24f03c3e967a63f4db28608c33caa /src/kitemviews/kitemlistview.h
parent5798e081f52371b9fd91cf0348cc946ebcc28a4a (diff)
Fix alternate background issue
When items get inserted or deleted, the alternate background must be updated.
Diffstat (limited to 'src/kitemviews/kitemlistview.h')
-rw-r--r--src/kitemviews/kitemlistview.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kitemviews/kitemlistview.h b/src/kitemviews/kitemlistview.h
index 8f6e11e38..bbdb4081c 100644
--- a/src/kitemviews/kitemlistview.h
+++ b/src/kitemviews/kitemlistview.h
@@ -499,6 +499,12 @@ private:
int groupIndexForItem(int index) const;
/**
+ * Updates the alternate background for all visible items.
+ * @see updateAlternateBackgroundForWidget()
+ */
+ void updateAlternateBackgrounds();
+
+ /**
* Updates the alternateBackground-property of the widget dependent
* on the state of useAlternateBackgrounds() and the grouping state.
*/