qt: QTimer::singleShot with parameter

A

Armin Menzel

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
 
?

=?iso-8859-1?q?Stephan_Br=F6nnimann?=

There's nothing you can do with the timer,
you'll need to store `def_number' as class member.

Stephan Brönnimann
(e-mail address removed)
Open source rating and billing engine for communication networks.
See http://www.osb-systems.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,184
Messages
2,570,978
Members
47,561
Latest member
gjsign

Latest Threads

Top