┌   ┐
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:06 +0100
commit832b647c537bb520244d1222a4fb6440fe7024a6 (patch)
tree91c5331f6363eee23afce055221c52bab8cdfe38 /src/kitemviews/kitemlistview.h
parent517743a1bf2fab754182b53ba180be4043ed2148 (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);