summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata/findMocs/object8.h
blob: 894d715ed02c46f16805fa5c2a91b6850fa54c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0


#include <QObject>
#define Q_OBJECTOID_THING // empty

class Object8 : public QObject
{
    Q_OBJECT\
OID_THING
};

// Now we poison moc, just to make sure this doesn't get moc'ed :)
class NonMocObject8
/*  : QObject */
{
    /* qmake ignore Q_OBJECT */
    Q_OBJECT
};