@dcape yeah, you're absolutely right. thanks for your efforts. I was thinking about conflicts and checked widthChanged() with auto-completion - this is why i decided not to change the title of js function. Thanks, again ;)
thread = new QThread(this);
IIRC, these lines are doing more than you think they do. thread's parent is your object, then you move your MyObject instance to thread, so all objects who are child of your MyObject instance are moved the thread. So thread will be moved to itself.
All in all, you should rather have thread in your main as a stack object
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.