Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- block=Proc.new{ Thread.pass }
- timer=Qt::Timer.new(window)
- invoke=Qt::BlockInvocation.new(timer, block, "invoke()")
- Qt::Object.connect(timer, SIGNAL("timeout()"), invoke, SLOT("invoke()"))
- timer.start(1)
Add Comment
Please, Sign In to add comment