┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-01-30 12:59:38 +0100
committerPeter Penz <[email protected]>2012-01-30 13:01:13 +0100
commit6c39b4622f6d9920e5f8905a1d26da4a2b11b234 (patch)
treec1c63df1e9d3dd047022b163046960b05443a024 /src/kitemviews/kitemlistview.h
parent1d7088b1ada3de716ff591c22d400198450208d4 (diff)
Further animation optimizations
- Assure a proper minimim width in the compact mode. - Don't calculate the old position of hidden items to animate the moving. Just show them directly.
Diffstat (limited to 'src/kitemviews/kitemlistview.h')
-rw-r--r--src/kitemviews/kitemlistview.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/kitemviews/kitemlistview.h b/src/kitemviews/kitemlistview.h
index e4f1cd0d9..e44669936 100644
--- a/src/kitemviews/kitemlistview.h
+++ b/src/kitemviews/kitemlistview.h
@@ -367,17 +367,6 @@ private:
void setWidgetIndex(KItemListWidget* widget, int index);
/**
- * Helper method for setGeometry() and setItemSize(): Calling both methods might result
- * in a changed number of visible items. To assure that currently invisible items can
- * get animated from the old position to the new position prepareLayoutForIncreasedItemCount()
- * takes care to create all item widgets that are visible with the old or the new size.
- * @param size Size of the layouter or the item dependent on \p sizeType.
- * @param sizeType LayouterSize: KItemListLayouter::setSize() is used.
- * ItemSize: KItemListLayouter::setItemSize() is used.
- */
- void prepareLayoutForIncreasedItemCount(const QSizeF& size, SizeType sizeType);
-
- /**
* Helper method for prepareLayoutForIncreasedItemCount().
*/
void setLayouterSize(const QSizeF& size, SizeType sizeType);