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
4#ifndef QDECLARATIVEGEOMAPITEMTRANSITIONMANAGER_H
5#define QDECLARATIVEGEOMAPITEMTRANSITIONMANAGER_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 <QtLocation/private/qlocationglobal_p.h>
19#include <QtQuick/QQuickItem>
20#include <QtQuick/private/qquicktransitionmanager_p_p.h>
21
22QT_BEGIN_NAMESPACE
23
24class QDeclarativeGeoMapItemView;
25
27{
28public:
32
34
35 void transitionEnter();
36 void transitionExit();
37
62 {
64 // use invokeMethod since this is used on both QDeclarativeGeoMapItemBase and QDeclarativeGeoMapItemGroup
65 QMetaObject::invokeMethod(m_mapItem, QByteArrayLiteral("addTransitionFinished").constData(), Qt::DirectConnection);
66 }
68 {
69// setVisible(false);
71 QMetaObject::invokeMethod(m_mapItem, QByteArrayLiteral("removeTransitionFinished").constData(), Qt::DirectConnection);
72 }
73
74protected:
75 void finished() override;
76
77public:
79 QDeclarativeGeoMapItemView *m_view = nullptr;
83};
84
85QT_END_NAMESPACE
86
87#endif