blob: 0e45036768765124c24337f1f44d06f00d5b9417 (
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
#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
|