I was curious what is the scope of an object, if I do that.

Qt Code:
  1. void myMethod() {
  2. Object o;
  3. emit MySignal(o);
To copy to clipboard, switch view to plain text mode 

If I transfer the object to another thread, what happens to the object scope? o is allocated on stack.