summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/qmlmacro.h
blob: cb3b291bf1b87bf9ccc6a3a413cbfecfb84df389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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 QMlMACRO_H
#define QMlMACRO_H

#include <QObject>
#include <QByteArray>

struct QmlMacro : QObject
{
    Q_OBJECT
    Q_CLASSINFO("QML.Element", "auto")

    signals:
    void f(QByteArray &b);
};
#endif