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>
This commit is contained in:
parent
b9679215b8
commit
bcba2a3b32
5 changed files with 164 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue