diff options
| author | Alex Richardson <[email protected]> | 2014-04-10 02:57:01 +0200 |
|---|---|---|
| committer | Alex Richardson <[email protected]> | 2014-05-05 23:05:33 +0200 |
| commit | b069fb9b43072ebdb0cd292f224c4f4ca96e48f8 (patch) | |
| tree | 676e9b5d4c6bab6a4a98e3b47180ce261d77c480 /src/panels/information/pixmapviewer.cpp | |
| parent | bb642c92d31f0120b2306a9cb387d76f49112034 (diff) | |
dolphin: convert panels/ and filterbar to qt signal/slot syntax
TerminalPanel connections to konsole part were not converted since there
is no header available that defines these function, we have to keep the
old syntax here.
Additionally the new syntax no longer accepts QPointer arguments, we have
to explicitly call .data() there.
Diffstat (limited to 'src/panels/information/pixmapviewer.cpp')
| -rw-r--r-- | src/panels/information/pixmapviewer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panels/information/pixmapviewer.cpp b/src/panels/information/pixmapviewer.cpp index 8a752c587..db3a63331 100644 --- a/src/panels/information/pixmapviewer.cpp +++ b/src/panels/information/pixmapviewer.cpp @@ -39,8 +39,8 @@ PixmapViewer::PixmapViewer(QWidget* parent, Transition transition) : m_animation.setCurveShape(QTimeLine::LinearCurve); if (m_transition != NoTransition) { - connect(&m_animation, SIGNAL(valueChanged(qreal)), this, SLOT(update())); - connect(&m_animation, SIGNAL(finished()), this, SLOT(checkPendingPixmaps())); + connect(&m_animation, &QTimeLine::valueChanged, this, static_cast<void(PixmapViewer::*)()>(&PixmapViewer::update)); + connect(&m_animation, &QTimeLine::finished, this, &PixmapViewer::checkPendingPixmaps); } } |
