Hey there,

I'm using QtScript on Qt 4.4.

I have the following scenario:

Qt Code:
  1. main.prototype.body = function()
  2. {
  3. box = new qkBox;
  4. box.show();
  5. }
To copy to clipboard, switch view to plain text mode 
qkBox is a QObject.

How can I access this variable from C++ ?
Can I get an array of all QObjects newed inside the script process ?

Thanks.