aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/pysidetest/hiddenobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/pysidetest/hiddenobject.cpp')
-rw-r--r--sources/pyside6/tests/pysidetest/hiddenobject.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/sources/pyside6/tests/pysidetest/hiddenobject.cpp b/sources/pyside6/tests/pysidetest/hiddenobject.cpp
new file mode 100644
index 000000000..d4feabb66
--- /dev/null
+++ b/sources/pyside6/tests/pysidetest/hiddenobject.cpp
@@ -0,0 +1,19 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+#include "hiddenobject.h"
+
+void HiddenObject::callMe()
+{
+ m_called = true;
+}
+
+bool HiddenObject::wasCalled() const
+{
+ return m_called;
+}
+
+QObject *getHiddenObject()
+{
+ return new HiddenObject();
+}