Utils: De-slot and complete Qt5 connects

The only Qt4-style [dis]connects left are in BaseTreeView::setModel.

Change-Id: I53bb715750c65827005cc96939a6714606e60f81
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2016-06-28 22:31:02 +03:00
committed by Orgad Shaneh
parent b14d9c00ff
commit eacd012b96
18 changed files with 21 additions and 44 deletions

View File

@@ -87,7 +87,7 @@ public:
{
show();
raise();
QTimer::singleShot(ms, this, SLOT(runInternal()));
QTimer::singleShot(ms, this, &FadingIndicatorPrivate::runInternal);
}
protected:
@@ -104,7 +104,7 @@ protected:
}
}
private slots:
private:
void runInternal()
{
QPropertyAnimation *anim = new QPropertyAnimation(m_effect, "opacity", this);
@@ -114,7 +114,6 @@ private slots:
anim->start(QAbstractAnimation::DeleteWhenStopped);
}
private:
QGraphicsOpacityEffect *m_effect;
QLabel *m_label;
QPixmap m_pixmap;