summaryrefslogtreecommitdiffstats
path: root/tests/pysidetest/testobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pysidetest/testobject.h')
-rw-r--r--tests/pysidetest/testobject.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/pysidetest/testobject.h b/tests/pysidetest/testobject.h
index e2c0fc1..e37bca8 100644
--- a/tests/pysidetest/testobject.h
+++ b/tests/pysidetest/testobject.h
@@ -10,6 +10,17 @@
#endif
#include "pysidemacros.h"
+class IntValue
+{
+public:
+
+ IntValue(int val): value(val){};
+ IntValue() : value(0) {};
+ int value;
+};
+
+typedef IntValue TypedefValue;
+
class PYSIDE_API TestObject : public QObject
{
Q_OBJECT
@@ -28,12 +39,15 @@ public:
void emitSignalWithDefaultValue_void();
void emitSignalWithDefaultValue_bool();
+ void emitSignalWithTypedefValue(int value);
+
signals:
void idValue(int newValue);
void justASignal();
void staticMethodDouble();
void childrenChanged(const QList<QObject*>&);
void signalWithDefaultValue(bool value = false);
+ void signalWithTypedefValue(TypedefValue value);
private:
int m_idValue;