aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmltyperegistrar/foreign/foreign_p.h
blob: fe7986471f19971cbb6181129e55129bb8c1a220 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef FOREIGN_P_H
#define FOREIGN_P_H

#include <QtCore/qobject.h>

// qmltyperegistrar will assume this file is reachable under <private/foreign_p.h>
// It's not true, but this is how it works on actual private headers in Qt.
// See the trick in tst_qmltyperegistrar's CMakeLists.txt to turn on the --private-includes option.
class ForeignPrivate : public QObject
{
    Q_OBJECT
Q_SIGNALS:
    void happens();
};

#endif // FOREIGN_P_H