trollixx

Untitled

Dec 14th, 2012
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. C++ Side:
  2.  
  3. catalog.h:
  4. class Catalog : public QObject
  5. {
  6. ...
  7. signals:
  8. void radioInfoReady(Radio::IssueInfo *issueInfo);
  9. ...
  10. }
  11.  
  12. -------------
  13.  
  14. QML Side:
  15. ...
  16. Connections {
  17. target: App.Catalog
  18.  
  19. onRadioInfoReady: {
  20. console.log(arguments.length) // 0
  21. console.log(issueInfo); // undefined
  22. }
  23. }
  24. ...
Advertisement
Add Comment
Please, Sign In to add comment