]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kitemviews/private/kitemlistviewanimation.cpp
Port to QDebug*. KVBox--
[dolphin.git] / src / kitemviews / private / kitemlistviewanimation.cpp
index 5a00c8c3a6a9cb018444ac453037c0d56999370f..955eac6034110a313e92b176c1722a52caf0229e 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <kitemviews/kitemlistview.h>
 
-#include <KDebug>
+#include <QDebug>
 #include <KGlobalSettings>
 
 #include <QGraphicsWidget>
@@ -172,7 +172,7 @@ void KItemListViewAnimation::start(QGraphicsWidget* widget, AnimationType type,
     }
 
     Q_ASSERT(propertyAnim);
-    connect(propertyAnim, SIGNAL(finished()), this, SLOT(slotFinished()));
+    connect(propertyAnim, &QPropertyAnimation::finished, this, &KItemListViewAnimation::slotFinished);
     m_animation[type].insert(widget, propertyAnim);
 
     propertyAnim->start();
@@ -242,4 +242,3 @@ void KItemListViewAnimation::slotFinished()
     Q_ASSERT(false);
 }
 
-#include "kitemlistviewanimation.moc"