aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pysidetest/testobject.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-01-20 15:57:48 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:51:47 -0300
commitda8c292b69c53f0a16bc405ed590ce5d4ecacf9b (patch)
treebe75a999617280c72a94f22517788c9957c8834a /tests/pysidetest/testobject.h
parent4a2bfc9239c13272478185ce056e481d7aa1106b (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.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 65506b94e..8dcb4c06d 100644
--- a/tests/pysidetest/testobject.h
+++ b/tests/pysidetest/testobject.h
@@ -19,11 +19,15 @@ public:
void emitIdValueSignal();
void emitStaticMethodDoubleSignal();
+ void emitSignalWithDefaultValue_void();
+ void emitSignalWithDefaultValue_bool();
+
signals:
void idValue(int newValue);
void justASignal();
void staticMethodDouble();
void childrenChanged(const QList<QObject*>&);
+ void signalWithDefaultValue(bool value = false);
private:
int m_idValue;