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 QQUICKPOPUPANCHORS_P_H |
5 | #define |
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 <QtCore/qobject.h> |
19 | #include <QtQml/qqml.h> |
20 | #include <QtQuick/private/qquickitem_p.h> |
21 | #include <QtQuickTemplates2/private/qtquicktemplates2global_p.h> |
22 | |
23 | QT_BEGIN_NAMESPACE |
24 | |
25 | class QQuickItem; |
26 | class ; |
27 | class ; |
28 | |
29 | class Q_QUICKTEMPLATES2_PRIVATE_EXPORT : public QObject, public QQuickItemChangeListener |
30 | { |
31 | Q_OBJECT |
32 | Q_PROPERTY(QQuickItem *centerIn READ centerIn WRITE setCenterIn RESET resetCenterIn NOTIFY centerInChanged FINAL) |
33 | QML_ANONYMOUS |
34 | QML_ADDED_IN_VERSION(2, 5) |
35 | |
36 | public: |
37 | explicit (QQuickPopup *); |
38 | (); |
39 | |
40 | QQuickItem *() const; |
41 | void (QQuickItem *item); |
42 | void (); |
43 | |
44 | Q_SIGNALS: |
45 | void (); |
46 | |
47 | private: |
48 | void (QQuickItem *item) override; |
49 | |
50 | Q_DISABLE_COPY() |
51 | Q_DECLARE_PRIVATE(QQuickPopupAnchors) |
52 | }; |
53 | |
54 | QT_END_NAMESPACE |
55 | |
56 | QML_DECLARE_TYPE(QQuickPopupAnchors) |
57 | |
58 | #endif // QQUICKPOPUPANCHORS_P_H |
59 | |