forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
b14d9c00ff
commit
eacd012b96
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user