Files
RMHook-Win/paho-mqtt3as-proxy/Qt/include/QtCore/qpauseanimation.h
2026-05-07 16:41:01 +02:00

40 lines
955 B
C++

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QPAUSEANIMATION_H
#define QPAUSEANIMATION_H
#include <QtCore/qanimationgroup.h>
QT_REQUIRE_CONFIG(animation);
QT_BEGIN_NAMESPACE
class QPauseAnimationPrivate;
class Q_CORE_EXPORT QPauseAnimation : public QAbstractAnimation
{
Q_OBJECT
Q_PROPERTY(int duration READ duration WRITE setDuration BINDABLE bindableDuration)
public:
QPauseAnimation(QObject *parent = nullptr);
QPauseAnimation(int msecs, QObject *parent = nullptr);
~QPauseAnimation();
int duration() const override;
void setDuration(int msecs);
QBindable<int> bindableDuration();
protected:
bool event(QEvent *e) override;
void updateCurrentTime(int) override;
private:
Q_DISABLE_COPY(QPauseAnimation)
Q_DECLARE_PRIVATE(QPauseAnimation)
};
QT_END_NAMESPACE
#endif // QPAUSEANIMATION_H