aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlsplitlib/lib2.h
blob: 6d6aaddda55421f9c3d45af83855c18d7f487cb9 (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
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef SPLITLIB_LIB2_H
#define SPLITLIB_LIB2_H
#include "tst-qmlsplitlib-library-2_export.h"

#include <QtQmlIntegration/qqmlintegration.h>
#include <QtCore/qglobal.h>
#include <QObject>

class TST_QMLSPLITLIB_LIBRARY_2_EXPORT SplitLib2 : public QObject
{
public:
    Q_OBJECT
    QML_ELEMENT

    Q_INVOKABLE bool transmogrify();
};


class TST_QMLSPLITLIB_LIBRARY_2_EXPORT Foo2 : public QObject
{
public:
    Q_OBJECT
    QML_NAMED_ELEMENT(Bar2)
    QML_SINGLETON
};

#endif