aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/renaming.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/libsample/renaming.h')
-rw-r--r--sources/shiboken6/tests/libsample/renaming.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libsample/renaming.h b/sources/shiboken6/tests/libsample/renaming.h
new file mode 100644
index 000000000..787ccc2f7
--- /dev/null
+++ b/sources/shiboken6/tests/libsample/renaming.h
@@ -0,0 +1,25 @@
+// Copyright (C) 2019 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+#ifndef RENAMING_H
+#define RENAMING_H
+
+#include "libsamplemacros.h"
+
+class LIBSAMPLE_API ToBeRenamedValue
+{
+public:
+ int value() const;
+ void setValue(int v);
+
+private:
+ int m_value = 42;
+};
+
+class LIBSAMPLE_API RenamedUser
+{
+public:
+ void useRenamedValue(const ToBeRenamedValue &v);
+};
+
+#endif // POINT_H