Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickgeocoordinateanimation_p_p.h
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
#ifndef QQUICKGEOCOORDINATEANIMATION_P_P_H
5
#define QQUICKGEOCOORDINATEANIMATION_P_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include "
qquickgeocoordinateanimation_p.h
"
19
#include <QtQuick/private/qquickanimation_p_p.h>
20
#include <QtCore/private/qproperty_p.h>
21
22
QT_BEGIN_NAMESPACE
23
24
class
QQuickGeoCoordinateAnimationPrivate
:
public
QQuickPropertyAnimationPrivate
25
{
26
Q_DECLARE_PUBLIC(
QQuickGeoCoordinateAnimation
)
27
public
:
28
void
setDirection
(
QQuickGeoCoordinateAnimation::Direction
direction
)
29
{
30
q_func()->setDirection(
direction
);
31
}
32
void
directionChanged
()
33
{
34
Q_EMIT
q_func()->directionChanged();
35
}
36
37
Q_OBJECT_COMPAT_PROPERTY_WITH_ARGS
(
QQuickGeoCoordinateAnimationPrivate
,
38
QQuickGeoCoordinateAnimation::Direction
, m_direction,
39
&
QQuickGeoCoordinateAnimationPrivate::setDirection
,
40
&
QQuickGeoCoordinateAnimationPrivate::directionChanged
,
41
QQuickGeoCoordinateAnimation::Shortest
)
42
};
43
44
QT_END_NAMESPACE
45
46
#endif
// QQUICKGEOCOORDINATEANIMATION_P_P_H
QQuickGeoCoordinateAnimationPrivate
Definition
qquickgeocoordinateanimation_p_p.h:25
QQuickGeoCoordinateAnimationPrivate::directionChanged
void directionChanged()
Definition
qquickgeocoordinateanimation_p_p.h:32
QQuickGeoCoordinateAnimationPrivate::setDirection
void setDirection(QQuickGeoCoordinateAnimation::Direction direction)
Definition
qquickgeocoordinateanimation_p_p.h:28
QQuickGeoCoordinateAnimation
Definition
qquickgeocoordinateanimation_p.h:27
QQuickGeoCoordinateAnimation::Direction
Direction
Definition
qquickgeocoordinateanimation_p.h:38
QQuickGeoCoordinateAnimation::Shortest
@ Shortest
Definition
qquickgeocoordinateanimation_p.h:39
QQuickPropertyAnimationPrivate
Definition
qquickanimation_p_p.h:238
direction
direction
Definition
doc_src_styles.cpp:42
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
Q_OBJECT_COMPAT_PROPERTY_WITH_ARGS
#define Q_OBJECT_COMPAT_PROPERTY_WITH_ARGS(...)
Definition
qproperty_p.h:769
qquickgeocoordinateanimation_p.h
Q_EMIT
#define Q_EMIT
Definition
qtmetamacros.h:47
qtpositioning
src
positioningquick
qquickgeocoordinateanimation_p_p.h
Generated by
1.9.7