[Qt-interest] QTimer issue
André Somers
andre at familiesomers.nl
Wed Jan 19 22:08:02 CET 2011
On Wednesday 19 January 2011 21:30:43 Michael S wrote:
> Good day all,
>
> I am writing a service type application that schedules its own events. I
> use the QTimer object to program the events and connect the timeout()
> signal to a slot that executes my logic. Unfortunately QTimer::start takes
> an int, which limits me to about 24 days, thus preventing me to scheduling
> a monthly event. I understand that QTimer was probably not intended for
> this type of usage, but having a long (or uint) argument type for start()
> would have been helpful. In any case, what would be the easiest solution?
How about a setup where you execute your slot once a minute, and you check in
that slot if you need to perform your action yet or not?
André
More information about the Qt-interest-old
mailing list