Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 1.0
- Item {
- property variant rec1: rec1
- property variant rec2: rec2
- function func(s) {
- print("msg:", s.msg);
- }
- Item {
- id: rec1
- property string msg: "Hello"
- }
- Item {
- id: rec2
- property string msg: "World"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment