Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qpauseanimationjob.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "private/qpauseanimationjob_p.h"
5
7
9 : m_duration(duration)
10{
11 m_isPause = true;
12}
13
17
19{
20 return m_duration;
21}
22
24{
25 m_duration = msecs;
26}
27
31
33{
34 d << "PauseAnimationJob(" << Qt::hex << (const void *) this << Qt::dec << ")" << "duration:" << m_duration;
35}
36
\inmodule QtCore
void updateCurrentTime(int) override
int duration() const override
void debugAnimation(QDebug d) const override
void setDuration(int msecs)
QPauseAnimationJob(int duration=250)
Combined button and popup list for selecting options.
QTextStream & hex(QTextStream &stream)
Calls QTextStream::setIntegerBase(16) on stream and returns stream.
QTextStream & dec(QTextStream &stream)
Calls QTextStream::setIntegerBase(10) on stream and returns stream.