aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmljsscope/QualifiedNamesTests/testtypes.h
blob: 514a98881ddd79e78f23a1e07aa7234f9287f5a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef TESTTYPES_H
#define TESTTYPES_H

#include <QtCore/QObject>
#include <QtQml/qqml.h>

class A : public QObject
{
    Q_OBJECT

    QML_ELEMENT
    QML_ADDED_IN_VERSION(5, 0)
    QML_REMOVED_IN_VERSION(6, 0)
};

class B : public QObject
{
    Q_OBJECT

    QML_ELEMENT
    QML_ADDED_IN_VERSION(5, 0)
};

class C : public QObject
{
    Q_OBJECT

    QML_ELEMENT
    QML_REMOVED_IN_VERSION(6, 0)
};

class D : public QObject
{
    Q_OBJECT

    QML_ELEMENT
};
#endif // TESTTYPES_H