aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pysidetest/testobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pysidetest/testobject.h')
-rw-r--r--tests/pysidetest/testobject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pysidetest/testobject.h b/tests/pysidetest/testobject.h
index bfb7edd8b..e2c0fc114 100644
--- a/tests/pysidetest/testobject.h
+++ b/tests/pysidetest/testobject.h
@@ -68,12 +68,16 @@ signals:
namespace PySideCPP2 {
+enum Enum1 { Option1 = 1, Option2 = 2 };
+
+
typedef long PySideLong;
class PYSIDE_API TestObjectWithoutNamespace : public QObject
{
Q_OBJECT
public:
+ enum Enum2 { Option3 = 3, Option4 = 4};
TestObjectWithoutNamespace(QObject* parent) : QObject(parent) {}
QString name() { return "TestObjectWithoutNamespace"; }