summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/pointery_to_incomplete.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/pointery_to_incomplete.h')
-rw-r--r--tests/auto/tools/moc/pointery_to_incomplete.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/auto/tools/moc/pointery_to_incomplete.h b/tests/auto/tools/moc/pointery_to_incomplete.h
index 38dea13340..5d0ac859d6 100644
--- a/tests/auto/tools/moc/pointery_to_incomplete.h
+++ b/tests/auto/tools/moc/pointery_to_incomplete.h
@@ -1,5 +1,5 @@
// Copyright (C) 2020 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef POINTERY_TO_INCOMPLETE_H
#define POINTERY_TO_INCOMPLETE_H
@@ -14,10 +14,14 @@ class FwdClass;
class TestPointeeCanBeIncomplete : public QObject
{
Q_OBJECT
-public:
+public slots:
void setProp1(QPointer<FwdClass>) {}
void setProp2(QSharedPointer<FwdClass>) {}
void setProp3(const QWeakPointer<FwdClass> &) {}
+ void setProp4(FwdClass *) {}
+ void setProp5(const FwdClass *) {}
+ void setProp6(void *) {}
+ void setProp7(const void *) {}
};
#endif // POINTERY_TO_INCOMPLETE_H