qt: QTimer::singleShot with parameter



 DEVELOP > c-Plus-Plus > qt: QTimer::singleShot with parameter

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "Armin Menzel"
Date: 06 Dec 2004 05:49:55 PM
Object: qt: QTimer::singleShot with parameter
Hi everybody.
I would like to do something like that:
QTimer::singleShot(update_interval,this,SLOT(RapidFire(def_number)));
Unfortunately trolltech Qt 3.3 does not support parameters (here:
def_number) in that context. What can I do?
Thanks
Armin
.

User: "=?iso-8859-1?q?Stephan_Br=F6nnimann?="

Title: Re: qt: QTimer::singleShot with parameter 07 Dec 2004 02:09:10 AM
There's nothing you can do with the timer,
you'll need to store `def_number' as class member.
Stephan Br=F6nnimann
broeni@osb-systems.com
Open source rating and billing engine for communication networks.
See http://www.osb-systems.com
.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER