summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_qt_extract_metatypes/test_qt_extract_metatypes_project/testdata/MetaTypeQ_OBJECTandQ_PROPERTY.h
blob: 56d6c56bb5317161525783084ab06ebdd73f93ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <QObject>

class MetaType : public QObject
{
    Q_OBJECT
    Q_PROPERTY(int test READ test)
    int test() { return 0; }
};