diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-01-20 15:57:48 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:51:47 -0300 |
commit | da8c292b69c53f0a16bc405ed590ce5d4ecacf9b (patch) | |
tree | be75a999617280c72a94f22517788c9957c8834a /tests/pysidetest/testobject.cpp | |
parent | 4a2bfc9239c13272478185ce056e481d7aa1106b (diff) |
Added test cases for signal emission.
Signals are emitted from C++ and Python.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
Diffstat (limited to 'tests/pysidetest/testobject.cpp')
-rw-r--r-- | tests/pysidetest/testobject.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/pysidetest/testobject.cpp b/tests/pysidetest/testobject.cpp index 717c4e3cd..6911334ff 100644 --- a/tests/pysidetest/testobject.cpp +++ b/tests/pysidetest/testobject.cpp @@ -12,3 +12,15 @@ TestObject::emitStaticMethodDoubleSignal() emit staticMethodDouble(); } +void +TestObject::emitSignalWithDefaultValue_void() +{ + emit signalWithDefaultValue(); +} + +void +TestObject::emitSignalWithDefaultValue_bool() +{ + emit signalWithDefaultValue(true); +} + |