Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
// Qt-Security score:significant
4
5
#
include
"private/qpauseanimationjob_p.h"
6
7
QT_BEGIN_NAMESPACE
8
9
QPauseAnimationJob::QPauseAnimationJob(
int
duration)
10
: m_duration(duration)
11
{
12
m_isPause =
true
;
13
}
14
15
QPauseAnimationJob::~QPauseAnimationJob()
16
{
17
}
18
19
int
QPauseAnimationJob::duration()
const
20
{
21
return
m_duration;
22
}
23
24
void
QPauseAnimationJob::setDuration(
int
msecs)
25
{
26
m_duration = msecs;
27
}
28
29
void
QPauseAnimationJob::updateCurrentTime(
int
)
30
{
31
}
32
33
void
QPauseAnimationJob::debugAnimation(QDebug d)
const
34
{
35
d <<
"PauseAnimationJob("
<< Qt::hex << (
const
void
*)
this
<< Qt::dec <<
")"
<<
"duration:"
<< m_duration;
36
}
37
38
QT_END_NAMESPACE
qtdeclarative
src
qml
animations
qpauseanimationjob.cpp
Generated on
for Qt by
1.16.1