|
From: Steve H. <S.W...@ec...> - 2004-08-16 09:39:57
|
On Mon, Aug 16, 2004 at 10:05:55 +0100, Chris Cannam wrote: > The QTimer stuff is simple enough but obviously depends on the Qt > signal/slot thing. Add a void method to the "protected slots:" > section of SynthGUI in the header file, called something like > timeout(), like your test_press/release methods. Then just create > QTimer *myTimer = new QTimer(this) from the SynthGUI constructor, do > > connect(myTimer, SIGNAL(timeout()), this, SLOT(timeout())); > > and myTimer->start(0, false); should do it. Cool, that seemed to work :) Commited a tiny patch to fix it, can people check it on thier machines please? It will require a newish liblo, with the patch I submitted on saturday to change the scanf line. I'l get a fixed liblo out ASAP. - Steve |