2022-05-10 10:06:48 +00:00
|
|
|
// Copyright (C) 2020 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2020-06-05 12:24:31 +00:00
|
|
|
|
|
|
|
#ifndef POINTERY_TO_INCOMPLETE_H
|
|
|
|
#define POINTERY_TO_INCOMPLETE_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QSharedPointer>
|
|
|
|
#include <QWeakPointer>
|
|
|
|
#include <QPointer>
|
|
|
|
|
|
|
|
class FwdClass;
|
|
|
|
|
|
|
|
class TestPointeeCanBeIncomplete : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
2022-07-31 16:14:35 +00:00
|
|
|
public slots:
|
2020-07-02 14:01:20 +00:00
|
|
|
void setProp1(QPointer<FwdClass>) {}
|
|
|
|
void setProp2(QSharedPointer<FwdClass>) {}
|
|
|
|
void setProp3(const QWeakPointer<FwdClass> &) {}
|
2022-07-31 16:14:35 +00:00
|
|
|
void setProp4(FwdClass *) {}
|
|
|
|
void setProp5(const FwdClass *) {}
|
|
|
|
void setProp6(void *) {}
|
|
|
|
void setProp7(const void *) {}
|
2020-06-05 12:24:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // POINTERY_TO_INCOMPLETE_H
|