***************************************************************************/
#include "kitemlistviewanimation.h"
+#include "kitemviews/kitemlistview.h"
-#include <kitemviews/kitemlistview.h>
-
-#include <QDebug>
-
-#include <QGraphicsWidget>
#include <QPropertyAnimation>
KItemListViewAnimation::KItemListViewAnimation(QObject* parent) :
{
stop(widget, type);
- QPropertyAnimation* propertyAnim = 0;
+ QPropertyAnimation* propertyAnim = nullptr;
const int animationDuration = widget->style()->styleHint(QStyle::SH_Widget_Animate) ? 200 : 1;
switch (type) {