aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/ambiguous.h
blob: 5ea20dbcd1c4f8768154c380e1c7cb2e0c308b6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef AMBIGUOUS_H
#define AMBIGUOUS_H

#include <QtCore/qobject.h>
#include <QtQmlIntegration/qqmlintegration.h>

class Ambiguous : public QObject
{
    Q_OBJECT
    QML_ELEMENT
    QML_ADDED_IN_VERSION(1, 2)

public:
    Ambiguous(QObject *parent = nullptr) : QObject(parent)
    {
        setObjectName(QStringLiteral("Ambiguous"));
    }
};

#endif // AMBIGUOUS_H