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
qdeclarativegeomapitemtransitionmanager_p.h
Go to the documentation of this file.
1// Copyright (C) 2018 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 reason:default
4
5#ifndef QDECLARATIVEGEOMAPITEMTRANSITIONMANAGER_H
6#define QDECLARATIVEGEOMAPITEMTRANSITIONMANAGER_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtLocation/private/qlocationglobal_p.h>
20#include <QtQuick/QQuickItem>
21#include <QtQuick/private/qquicktransitionmanager_p_p.h>
22
23QT_BEGIN_NAMESPACE
24
25class QDeclarativeGeoMapItemView;
26
28{
29public:
33
35
36 void transitionEnter();
37 void transitionExit();
38
63 {
65 // use invokeMethod since this is used on both QDeclarativeGeoMapItemBase and QDeclarativeGeoMapItemGroup
66 QMetaObject::invokeMethod(m_mapItem, QByteArrayLiteral("addTransitionFinished").constData(), Qt::DirectConnection);
67 }
69 {
70// setVisible(false);
72 QMetaObject::invokeMethod(m_mapItem, QByteArrayLiteral("removeTransitionFinished").constData(), Qt::DirectConnection);
73 }
74
75protected:
76 void finished() override;
77
78public:
80 QDeclarativeGeoMapItemView *m_view = nullptr;
84};
85
86QT_END_NAMESPACE
87
88#endif