blob: 2e13c9a2de0bde7b1243e25a58dc81782338ae4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef WARN_ON_MULTIPLE_QOBJECT_SUBCLASSES_H
#define WARN_ON_MULTIPLE_QOBJECT_SUBCLASSES_H
#include <QtGui>
class Foo : public QObject
{
Q_OBJECT
public:
};
class Bar : public QWindow, public Foo
{
Q_OBJECT
};
#endif // WARN_ON_MULTIPLE_QOBJECT_SUBCLASSES_H
|